The Android Developer Challenge is back! Submit your idea before December 2.

TextGeometricTransform

data class TextGeometricTransform
kotlin.Any
   ↳ androidx.ui.text.style.TextGeometricTransform

Define a geometric transformation on text.

Summary

Public constructors

<init>(scaleX: Float? = null, skewX: Float? = null)

Define a geometric transformation on text.

Properties

Float?

The scale of the text on the horizontal direction.

Float?

The shear of the text on the horizontal direction.

Public constructors

<init>

TextGeometricTransform(
    scaleX: Float? = null,
    skewX: Float? = null)

Define a geometric transformation on text.

Parameters
scaleX The scale of the text on the horizontal direction.
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).

Properties

scaleX

val scaleX: Float?

The scale of the text on the horizontal direction.

skewX

val skewX: Float?

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).