DrawRect

open class DrawRect : Draw

绘制矩形

Author

Jenly

Follow me

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var paint: Paint

Functions

Link copied to clipboard
open fun actionDown(canvas: Canvas, x: Float, y: Float)
按下
Link copied to clipboard
open fun actionMove(canvas: Canvas, x: Float, y: Float)
移动
Link copied to clipboard
open fun actionUp(canvas: Canvas, x: Float, y: Float)
松开
Link copied to clipboard
open fun canMove(x: Float, y: Float): Boolean
是否可移动
Link copied to clipboard
open fun draw(canvas: Canvas)
Link copied to clipboard
获取边界框
Link copied to clipboard
open fun setPoint(point: PointF)
设置点
Link copied to clipboard
open fun setRect(rect: RectF)