VertexMode
enum class VertexMode
kotlin.Any | ||
↳ | kotlin.Enum<androidx.compose.ui.graphics.VertexMode> | |
↳ | androidx.compose.ui.graphics.VertexMode |
Defines how a list of points is interpreted when drawing a set of triangles.
Used by Canvas.drawVertices.
Summary
Enum values | |
---|---|
Draw the first point and each sliding window of two points as the vertices of a triangle. |
|
Draw each sliding window of three points as the vertices of a triangle. |
|
Draw each sequence of three points as the vertices of a triangle. |
Extension functions | ||
---|---|---|
From androidx.compose.ui.graphics
|
Inherited extension functions | ||
---|---|---|
From androidx.core.util
|
Enum values
TriangleFan
enum val TriangleFan : VertexMode
Draw the first point and each sliding window of two points as the vertices of a triangle.
TriangleStrip
enum val TriangleStrip : VertexMode
Draw each sliding window of three points as the vertices of a triangle.
Triangles
enum val Triangles : VertexMode
Draw each sequence of three points as the vertices of a triangle.