androidx.ui.text.style

Classes

BaselineShift

The amount by which the text is shifted up or down from current the baseline.

TextDecoration

Defines a horizontal line to be drawn on the text.

TextGeometricTransform

Define a geometric transformation on text.

TextIndent

Specify the indentation of a paragraph.

Enums

TextAlign

Defines how to align text horizontally.

TextDirection

TextDirectionAlgorithm

Defines the algorithm to be used while determining the text direction.

TextOverflow

How overflowing text should be handled.

Top-level functions summary

BaselineShift
lerp(start: BaselineShift, stop: BaselineShift, fraction: Float)

Linearly interpolate two BaselineShifts.

TextGeometricTransform

TextIndent
lerp(start: TextIndent, stop: TextIndent, fraction: Float)

Linearly interpolate between two TextIndents.

Top-level functions

lerp

fun lerp(
    start: BaselineShift,
    stop: BaselineShift,
    fraction: Float
): BaselineShift

Linearly interpolate two BaselineShifts.

lerp

fun lerp(
    start: TextGeometricTransform,
    stop: TextGeometricTransform,
    fraction: Float
): TextGeometricTransform

lerp

fun lerp(
    start: TextIndent,
    stop: TextIndent,
    fraction: Float
): TextIndent

Linearly interpolate between two TextIndents.

See Also