toggle menu
drawboard
1.1.0
androidJvm
switch theme
search in API
drawboard
/
com.king.drawboard.draw
/
DrawPoint
Draw
Point
open
class
DrawPoint
:
Draw
绘制点
Author
Jenly
Follow me
Members
Constructors
Draw
Point
Link copied to clipboard
constructor
(
)
Properties
paint
Link copied to clipboard
open
var
paint
:
Paint
Functions
action
Down
Link copied to clipboard
open
fun
actionDown
(
canvas
:
Canvas
,
x
:
Float
,
y
:
Float
)
按下
action
Move
Link copied to clipboard
open
fun
actionMove
(
canvas
:
Canvas
,
x
:
Float
,
y
:
Float
)
移动
action
Up
Link copied to clipboard
open
fun
actionUp
(
canvas
:
Canvas
,
x
:
Float
,
y
:
Float
)
松开
can
Move
Link copied to clipboard
open
fun
canMove
(
x
:
Float
,
y
:
Float
)
:
Boolean
是否可移动
draw
Link copied to clipboard
open
fun
draw
(
canvas
:
Canvas
)
get
Bounding
Box
Link copied to clipboard
@
Nullable
open
fun
getBoundingBox
(
)
:
RectF
获取边界框
set
Point
Link copied to clipboard
open
fun
setPoint
(
point
:
PointF
)
设置点