Stay organized with collections
Save and categorize content based on your preferences.
VertexMode
class VertexMode
Summary
Enum values
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Canvas.VertexMode\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nVertexMode\n==========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/graphics/Canvas.VertexMode \"View this page in Java\") \n\n```\nclass VertexMode\n```\n\n|---|---|-----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[android.graphics.Canvas.VertexMode](#)\\\u003e ||\n| | ↳ | [android.graphics.Canvas.VertexMode](#) |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [Canvas.VertexMode.TRIANGLES](#ENUM_VALUE:TRIANGLES), [Canvas.VertexMode.TRIANGLE_FAN](#ENUM_VALUE:TRIANGLE_FAN), [Canvas.VertexMode.TRIANGLE_STRIP](#ENUM_VALUE:TRIANGLE_STRIP) |----------------------------------------------------------------|--------| | [Canvas.VertexMode.TRIANGLES](#ENUM_VALUE:TRIANGLES) | \u003cbr /\u003e | | [Canvas.VertexMode.TRIANGLE_FAN](#ENUM_VALUE:TRIANGLE_FAN) | \u003cbr /\u003e | | [Canvas.VertexMode.TRIANGLE_STRIP](#ENUM_VALUE:TRIANGLE_STRIP) | \u003cbr /\u003e | |\n\nSummary\n-------\n\n| Enum values ||\n|-----------------------------------------------------|---|\n| [TRIANGLES](#ENUM_VALUE:TRIANGLES) \u003cbr /\u003e |\n| [TRIANGLE_FAN](#ENUM_VALUE:TRIANGLE_FAN) \u003cbr /\u003e |\n| [TRIANGLE_STRIP](#ENUM_VALUE:TRIANGLE_STRIP) \u003cbr /\u003e |\n\nEnum values\n-----------\n\n### TRIANGLES\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val TRIANGLES : Canvas.VertexMode\n``` \n\n### TRIANGLE_FAN\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val TRIANGLE_FAN : Canvas.VertexMode\n``` \n\n### TRIANGLE_STRIP\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val TRIANGLE_STRIP : Canvas.VertexMode\n```"]]