DrawText

open class DrawText : Draw

绘制文本

Author

Jenly

Follow me

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val 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 setPaint(paint: Paint)
设置画笔
Link copied to clipboard
open fun setPoint(point: PointF)
设置点
Link copied to clipboard
open fun setText(text: String)