Function op
pub fn op(
one: &Handle<SkPath>,
two: &Handle<SkPath>,
op: SkPathOp,
) -> Option<Handle<SkPath>>Expand description
Set the resulting path to the result of applying the operator to one and two:
this = (one op two). The resulting path will be constructed from non-overlapping contours. The
curve order is reduced where possible so that cubics may be turned into quadratics, and
quadratics maybe turned into lines.
Returns Some if the operation was able to produce a result; otherwise, the result is
unmodified.
oneThe first operand (for difference, the minuend)twoThe second operand (for difference, the subtrahend)opThe operator to apply.
Returns Some if the operation succeeded.