Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
added in API level 1

Path.FillType

public static final enum Path.FillType
extends Enum<Path.FillType>

java.lang.Object
   ↳ java.lang.Enum<android.graphics.Path.FillType>
     ↳ android.graphics.Path.FillType


Enum for the ways a path may be filled.

Summary

Enum values

Path.FillType  EVEN_ODD

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

Path.FillType  INVERSE_EVEN_ODD

Same as EVEN_ODD, but draws outside of the path, rather than inside. 

Path.FillType  INVERSE_WINDING

Same as WINDING, but draws outside of the path, rather than inside. 

Path.FillType  WINDING

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

Public methods

static Path.FillType valueOf(String name)
static final FillType[] values()

Inherited methods

Enum values

EVEN_ODD

added in API level 1
public static final Path.FillType EVEN_ODD

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

INVERSE_EVEN_ODD

added in API level 1
public static final Path.FillType INVERSE_EVEN_ODD

Same as EVEN_ODD, but draws outside of the path, rather than inside.

INVERSE_WINDING

added in API level 1
public static final Path.FillType INVERSE_WINDING

Same as WINDING, but draws outside of the path, rather than inside.

WINDING

added in API level 1
public static final Path.FillType WINDING

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

Public methods

valueOf

added in API level 1
public static Path.FillType valueOf (String name)

Parameters
name String

Returns
Path.FillType

values

added in API level 1
public static final FillType[] values ()

Returns
FillType[]