{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

VertexMode

value public final class VertexMode


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

Used by Canvas.drawVertices.

Summary

Nested types

public static class VertexMode.Companion

Public methods

@NonNull String

Extension functions

final @NonNull Canvas.VertexMode

Public methods

toString

public @NonNull String toString()

Extension functions

AndroidVertexModeKt.toAndroidVertexMode

public final @NonNull Canvas.VertexMode AndroidVertexModeKt.toAndroidVertexMode(@NonNull VertexMode receiver)