PositionOffset

data class PositionOffset(val x: Int = 0, val y: Int = 0)(source)

多行文字的行间像素偏移,不是元素的外层坐标。 Per-line pixel spacing for multiline text, not the element's outer position.

Constructors

Link copied to clipboard
constructor(x: Int = 0, y: Int = 0)

Properties

Link copied to clipboard
val x: Int
Link copied to clipboard
val y: Int