Vertices

class Vertices
kotlin.Any
   ↳ androidx.ui.Vertices

A set of vertex data used by Canvas.drawVertices.

Summary

Public constructors

<init>(vertexMode: VertexMode, positions: List<Offset>, textureCoordinates: List<Offset>, colors: List<Color>, indices: List<Int>)

A set of vertex data used by Canvas.drawVertices.

Properties

IntArray

ShortArray

FloatArray

FloatArray

VertexMode

Public constructors

<init>

Vertices(
    vertexMode: VertexMode,
    positions: List<Offset>,
    textureCoordinates: List<Offset>,
    colors: List<Color>,
    indices: List<Int>)

A set of vertex data used by Canvas.drawVertices.

Properties

colors

val colors: IntArray

indices

val indices: ShortArray

positions

val positions: FloatArray

textureCoordinates

val textureCoordinates: FloatArray

vertexMode

val vertexMode: VertexMode