TextGeometricTransform
Class
Common
class TextGeometricTransform(val scaleX: Float = 1.0f, val skewX: Float = 0f)
Define a geometric transformation on text.
Parameters
scaleX | The scale of the text on the horizontal direction. The default value is 1.0f, i.e no scaling. |
skewX | The shear of the text on the horizontal direction. A pixel at (x, y), where y is the distance above baseline, will be transformed to (x + y * skewX, y). The default value is 0.0f i.e. no skewing. |
Functions
fun copy(scaleX: Float = this.scaleX, skewX: Float = this.skewX): TextGeometricTransform