Split path along the finite segment a->b into closed pieces (Knife).
Returns null unless the segment enters AND exits the path boundary
(>=2 proper crossings) and both half-planes yield non-empty area. Otherwise
returns one PolygonPath per side of the line. Beziers are flattened
(see pathIntersect). The infinite line is used within a gated shape, so a
concave shape only partly crossed may be cut at far-side crossings - accepted
(see spec non-goals).
Split
pathalong the finite segment a->b into closed pieces (Knife).Returns
nullunless the segment enters AND exits the path boundary (>=2 proper crossings) and both half-planes yield non-empty area. Otherwise returns onePolygonPathper side of the line. Beziers are flattened (seepathIntersect). The infinite line is used within a gated shape, so a concave shape only partly crossed may be cut at far-side crossings - accepted (see spec non-goals).