Added in API level 19

Op

class Op
kotlin.Any
   ↳ kotlin.Enum<android.graphics.Path.Op>
   ↳ android.graphics.Path.Op

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

Summary

Enum values

Subtract the second path from the first path.

Intersect the two paths.

Subtract the first path from the second path.

Union (inclusive-or) the two paths.

Exclusive-or the two paths.

Enum values

DIFFERENCE

Added in API level 19
enum val DIFFERENCE : Path.Op

Subtract the second path from the first path.

INTERSECT

Added in API level 19
enum val INTERSECT : Path.Op

Intersect the two paths.

REVERSE_DIFFERENCE

Added in API level 19
enum val REVERSE_DIFFERENCE : Path.Op

Subtract the first path from the second path.

UNION

Added in API level 19
enum val UNION : Path.Op

Union (inclusive-or) the two paths.

XOR

Added in API level 19
enum val XOR : Path.Op

Exclusive-or the two paths.