🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

TextGeometricTransform

Defines geometric transformations for text (such as scaling and skewing).

Source set: Common
public class TextGeometricTransform(public val scaleX: Float = 1.0f, public val skewX: Float = 0f)

Defines geometric transformations for text (such as scaling and skewing).

Parameters

scaleX horizontal scale factor (1.0f for no scaling).
skewX horizontal shear/skew factor. A pixel at (x, y) transforms to (x + y * skewX, y). Default is 0.0f (no skewing).

Functions

copy

Source set: Common
public fun copy(
        scaleX: Float = this.scaleX,
        skewX: Float = this.skewX,
    ): TextGeometricTransform

Members

Companion

Source set: Common
public companion object