Stay organized with collections
Save and categorize content based on your preferences.
FillType
class FillType
Enum for the ways a path may be filled.
Summary
Enum values |
Specifies that "inside" is computed by an odd number of edge crossings.
|
Same as EVEN_ODD , but draws outside of the path, rather than inside.
|
Same as WINDING , but draws outside of the path, rather than inside.
|
Specifies that "inside" is computed by a non-zero sum of signed edge crossings.
|
Enum values
EVEN_ODD
enum val EVEN_ODD : Path.FillType
Specifies that "inside" is computed by an odd number of edge crossings.
INVERSE_EVEN_ODD
enum val INVERSE_EVEN_ODD : Path.FillType
Same as EVEN_ODD
, but draws outside of the path, rather than inside.
INVERSE_WINDING
enum val INVERSE_WINDING : Path.FillType
Same as WINDING
, but draws outside of the path, rather than inside.
WINDING
enum val WINDING : Path.FillType
Specifies that "inside" is computed by a non-zero sum of signed edge crossings.
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,["# Path.FillType\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nFillType\n========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/graphics/Path.FillType \"View this page in Java\") \n\n```\nclass FillType\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.Path.FillType](#)\\\u003e ||\n| | ↳ | [android.graphics.Path.FillType](#) |\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [Path.FillType.EVEN_ODD](#ENUM_VALUE:EVEN_ODD), [Path.FillType.INVERSE_EVEN_ODD](#ENUM_VALUE:INVERSE_EVEN_ODD), [Path.FillType.INVERSE_WINDING](#ENUM_VALUE:INVERSE_WINDING), [Path.FillType.WINDING](#ENUM_VALUE:WINDING) |----------------------------------------------------------------|---------------------------------------------------------------------------------| | [Path.FillType.EVEN_ODD](#ENUM_VALUE:EVEN_ODD) | Specifies that \"inside\" is computed by an odd number of edge crossings. | | [Path.FillType.INVERSE_EVEN_ODD](#ENUM_VALUE:INVERSE_EVEN_ODD) | Same as [EVEN_ODD](#), but draws outside of the path, rather than inside. | | [Path.FillType.INVERSE_WINDING](#ENUM_VALUE:INVERSE_WINDING) | Same as [WINDING](#), but draws outside of the path, rather than inside. | | [Path.FillType.WINDING](#ENUM_VALUE:WINDING) | Specifies that \"inside\" is computed by a non-zero sum of signed edge crossings. | |\n\nEnum for the ways a path may be filled.\n\nSummary\n-------\n\n| Enum values ||\n|----------------------------------------------------------------------------------------------------------------------------|---|\n| [EVEN_ODD](#ENUM_VALUE:EVEN_ODD) Specifies that \"inside\" is computed by an odd number of edge crossings. |\n| [INVERSE_EVEN_ODD](#ENUM_VALUE:INVERSE_EVEN_ODD) Same as [EVEN_ODD](#), but draws outside of the path, rather than inside. |\n| [INVERSE_WINDING](#ENUM_VALUE:INVERSE_WINDING) Same as [WINDING](#), but draws outside of the path, rather than inside. |\n| [WINDING](#ENUM_VALUE:WINDING) Specifies that \"inside\" is computed by a non-zero sum of signed edge crossings. |\n\nEnum values\n-----------\n\n### EVEN_ODD\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val EVEN_ODD : Path.FillType\n```\n\nSpecifies that \"inside\" is computed by an odd number of edge crossings. \n\n### INVERSE_EVEN_ODD\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val INVERSE_EVEN_ODD : Path.FillType\n```\n\nSame as [EVEN_ODD](#), but draws outside of the path, rather than inside. \n\n### INVERSE_WINDING\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val INVERSE_WINDING : Path.FillType\n```\n\nSame as [WINDING](#), but draws outside of the path, rather than inside. \n\n### WINDING\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val WINDING : Path.FillType\n```\n\nSpecifies that \"inside\" is computed by a non-zero sum of signed edge crossings."]]