PinPainter

class PinPainter @JvmOverloads constructor(normalPinDrawableRes: Drawable, highlightPinDrawableRes: Drawable, view: TextView, pinWidth: Float, pinHeight: Float, totalPin: Int = 4, space: Float = 0.0f)

Constructors

Link copied to clipboard
constructor(normalPinDrawableRes: Drawable, highlightPinDrawableRes: Drawable, view: TextView, pinWidth: Float, pinHeight: Float, totalPin: Int = 4, space: Float = 0.0f)

Types

Link copied to clipboard
data class MeasureSpecSize(val widthMeasureSpec: Int, val heightMeasureSpec: Int)

Functions

Link copied to clipboard
fun draw(canvas: Canvas)