Vertices


A set of vertex data used by Canvas.drawVertices.

Summary

Public constructors

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

Public constructors

Vertices

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

Public properties

colors

val colorsIntArray

indices

val indicesShortArray

positions

val positionsFloatArray

textureCoordinates

val textureCoordinatesFloatArray

vertexMode

val vertexModeVertexMode