Added in API level 19
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.
REVERSE_DIFFERENCE
Added in API level 19
public static final Path.Op REVERSE_DIFFERENCE
Subtract the first path from the second path.
Public methods
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 2024-04-04 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 2024-04-04 UTC."],[],[]]