Skip to content

Most visited

Recently visited

navigation
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.

See also:

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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

DIFFERENCE

Added in API level 19
Path.Op DIFFERENCE

Subtract the second path from the first path.

INTERSECT

Added in API level 19
Path.Op INTERSECT

Intersect the two paths.

REVERSE_DIFFERENCE

Added in API level 19
Path.Op REVERSE_DIFFERENCE

Subtract the first path from the second path.

UNION

Added in API level 19
Path.Op UNION

Union (inclusive-or) the two paths.

XOR

Added in API level 19
Path.Op XOR

Exclusive-or the two paths.

Public methods

valueOf

Added in API level 19
Path.Op valueOf (String name)

Parameters
name String
Returns
Path.Op

values

Added in API level 19
Op[] values ()

Returns
Op[]
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.