# Path.FillType

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# FillType

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/graphics/Path.FillType "View this page in Java")  

```
class FillType
```

|---|---|------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                      |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\<[android.graphics.Path.FillType](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#)\> ||
|   | ↳ | [android.graphics.Path.FillType](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#) |

|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [Path.FillType.EVEN_ODD](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:EVEN_ODD),[Path.FillType.INVERSE_EVEN_ODD](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:INVERSE_EVEN_ODD),[Path.FillType.INVERSE_WINDING](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:INVERSE_WINDING),[Path.FillType.WINDING](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:WINDING) |---------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------| | [Path.FillType.EVEN_ODD](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:EVEN_ODD)                 | Specifies that "inside" is computed by an odd number of edge crossings.                                                                               | | [Path.FillType.INVERSE_EVEN_ODD](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:INVERSE_EVEN_ODD) | Same as[EVEN_ODD](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#), but draws outside of the path, rather than inside. | | [Path.FillType.INVERSE_WINDING](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:INVERSE_WINDING)   | Same as[WINDING](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#), but draws outside of the path, rather than inside.  | | [Path.FillType.WINDING](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:WINDING)                   | Specifies that "inside" is computed by a non-zero sum of signed edge crossings.                                                                       | |

Enum for the ways a path may be filled.

## Summary

|                                                                                                                                      Enum values                                                                                                                                       ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [EVEN_ODD](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:EVEN_ODD) Specifies that "inside" is computed by an odd number of edge crossings.                                                                                               |
| [INVERSE_EVEN_ODD](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:INVERSE_EVEN_ODD) Same as[EVEN_ODD](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#), but draws outside of the path, rather than inside. |
| [INVERSE_WINDING](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:INVERSE_WINDING) Same as[WINDING](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#), but draws outside of the path, rather than inside.    |
| [WINDING](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#ENUM_VALUE:WINDING) Specifies that "inside" is computed by a non-zero sum of signed edge crossings.                                                                                         |

## Enum values

### EVEN_ODD

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val EVEN_ODD : Path.FillType
```

Specifies that "inside" is computed by an odd number of edge crossings.  

### INVERSE_EVEN_ODD

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val INVERSE_EVEN_ODD : Path.FillType
```

Same as[EVEN_ODD](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#), but draws outside of the path, rather than inside.  

### INVERSE_WINDING

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val INVERSE_WINDING : Path.FillType
```

Same as[WINDING](https://developer.android.com/reference/kotlin/android/graphics/Path.FillType#), but draws outside of the path, rather than inside.  

### WINDING

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val WINDING : Path.FillType
```

Specifies that "inside" is computed by a non-zero sum of signed edge crossings.