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 TriangleFan: VertexMode

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

TriangleStrip

val TriangleStrip: VertexMode

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

Triangles

val Triangles: VertexMode

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

Public functions

toString

open fun toString(): String

Extension functions

VertexMode.toAndroidVertexMode

fun VertexMode.toAndroidVertexMode(): Canvas.VertexMode