lightbulb_outline Please take our October 2018 developer survey. Start survey

Path.Op

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

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


The logical operations that can be performed when combining two paths.

Summary

Enum values

Path.Op  DIFFERENCE

Subtract the second path from the first path. 

Path.Op  INTERSECT

Intersect the two paths. 

Path.Op  REVERSE_DIFFERENCE

Subtract the first path from the second path. 

Path.Op  UNION

Union (inclusive-or) the two paths. 

Path.Op  XOR

Exclusive-or the two paths. 

Public methods

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

Inherited methods

Enum values

DIFFERENCE

added in API level 19
public static final Path.Op DIFFERENCE

Subtract the second path from the first path.

INTERSECT

added in API level 19
public static final Path.Op INTERSECT

Intersect the two paths.

REVERSE_DIFFERENCE

added in API level 19
public static final Path.Op REVERSE_DIFFERENCE

Subtract the first path from the second path.

UNION

added in API level 19
public static final Path.Op UNION

Union (inclusive-or) the two paths.

XOR

added in API level 19
public static final Path.Op XOR

Exclusive-or the two paths.

Public methods

valueOf

added in API level 19
public static Path.Op valueOf (String name)

Parameters
name String

Returns
Path.Op

values

added in API level 19
public static final Op[] values ()

Returns
Op[]