Source set: Common
public class Vertices /*extends NativeFieldWrapperClass2*/
A set of vertex data used by Canvas.drawVertices.
Properties
vertexMode
Source set: Common
public val vertexMode: VertexMode
The VertexMode used to draw the vertices.
positions
Source set: Common
public val positions: FloatArray
A FloatArray of x, y pairs representing vertex positions.
textureCoordinates
Source set: Common
public val textureCoordinates: FloatArray
A FloatArray of u, v pairs representing texture coordinates.
colors
Source set: Common
public val colors: IntArray
An IntArray of ARGB colors for each vertex.
indices
Source set: Common
public val indices: ShortArray
A ShortArray of indices into the positions (texture, color) array.