PathOp

class PathOp

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

Members:

kDifference_PathOp : subtract the op path from the first path

kIntersect_PathOp : intersect the two paths

kUnion_PathOp : union (inclusive-or) the two paths

kXOR_PathOp : exclusive-or the two paths

kReverseDifference_PathOp : subtract the first path from the op path

Methods

__init__

__init__(self: skia.PathOp, value: int) -> None

Attributes

kDifference_PathOp

kIntersect_PathOp

kReverseDifference_PathOp

kUnion_PathOp

kXOR_PathOp

name

value

Methods

PathOp.__init__(self: skia.PathOp, value: int) None

__init__(self: skia.PathOp, value: int) -> None

Attributes

PathOp.kDifference_PathOp = <PathOp.kDifference_PathOp: 0>
PathOp.kIntersect_PathOp = <PathOp.kIntersect_PathOp: 1>
PathOp.kReverseDifference_PathOp = <PathOp.kReverseDifference_PathOp: 4>
PathOp.kUnion_PathOp = <PathOp.kUnion_PathOp: 2>
PathOp.kXOR_PathOp = <PathOp.kXOR_PathOp: 3>
PathOp.name
PathOp.value