VertexMode


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

Used by Canvas.drawVertices.

Summary

Public companion properties

VertexMode

Draw the first point and each sliding window of two points as the vertices of a triangle.

Cmn
VertexMode

Draw each sliding window of three points as the vertices of a triangle.

Cmn
VertexMode

Draw each sequence of three points as the vertices of a triangle.

Cmn

Public functions

open String
Cmn

Extension functions

Canvas.VertexMode
android

Public companion properties

TriangleFan

val TriangleFanVertexMode

Draw the first point and each sliding window of two points as the vertices of a triangle.

TriangleStrip

val TriangleStripVertexMode

Draw each sliding window of three points as the vertices of a triangle.

Triangles

val TrianglesVertexMode

Draw each sequence of three points as the vertices of a triangle.

Public functions

toString

open fun toString(): String

Extension functions