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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: