toggle menu
KAHelpers
androidJvm
switch theme
search in API
customviews
/
dev.funkymuse.customviews.pin
/
PinPainter
Pin
Painter
class
PinPainter
@
JvmOverloads
constructor
(
normalPinDrawableRes
:
Drawable
,
highlightPinDrawableRes
:
Drawable
,
view
:
TextView
,
pinWidth
:
Float
,
pinHeight
:
Float
,
totalPin
:
Int
=
4
,
space
:
Float
=
0.0f
)
Members
Constructors
Pin
Painter
Link copied to clipboard
@
JvmOverloads
constructor
(
normalPinDrawableRes
:
Drawable
,
highlightPinDrawableRes
:
Drawable
,
view
:
TextView
,
pinWidth
:
Float
,
pinHeight
:
Float
,
totalPin
:
Int
=
4
,
space
:
Float
=
0.0f
)
Types
Measure
Spec
Size
Link copied to clipboard
data
class
MeasureSpecSize
(
val
widthMeasureSpec
:
Int
,
val
heightMeasureSpec
:
Int
)
Functions
draw
Link copied to clipboard
fun
draw
(
canvas
:
Canvas
)
get
Calculated
Measure
Spec
Size
Link copied to clipboard
fun
getCalculatedMeasureSpecSize
(
)
:
PinPainter.MeasureSpecSize