Builder

class Builder

Constructors

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

Functions

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