androidx.ui

Classes

Vertices

A set of vertex data used by Canvas.drawVertices.

Enums

VertexMode

Defines how a list of points is interpreted when drawing a set of triangles.

Top-level functions summary

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

Linearly interpolate between start and stop with fraction fraction between them.

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

Linearly interpolate between start and stop with fraction fraction between them.

Extension functions summary

Top-level functions

lerp

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

Linearly interpolate between start and stop with fraction fraction between them.

lerp

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

Linearly interpolate between start and stop with fraction fraction between them.

Extension functions

toHexString

fun Int.toHexString(): String

toStringAsFixed

fun Float.toStringAsFixed(digits: Int): String