Builder

class Builder

Constructors

Link copied to clipboard
open fun Builder(@DrawableRes drawable: Int)
Link copied to clipboard
open fun Builder(@NonNull bitmap: Bitmap)

Functions

Link copied to clipboard
open fun build(): RestrictionImage
Link copied to clipboard
open fun setImageAnchor(@NonNull anchor: PointF): RestrictionImage.Builder
open fun setImageAnchor(x: Float, y: Float): RestrictionImage.Builder
Link copied to clipboard
open fun setLabelAnchor(@NonNull anchor: PointF): RestrictionImage.Builder
open fun setLabelAnchor(x: Float, y: Float): RestrictionImage.Builder
Link copied to clipboard
open fun setLabelExtent(@NonNull extent: PointF): RestrictionImage.Builder