hole

open fun hole(other: Shape2d): Polygon

Creates a single complex Polygon from the two shapes. This only differs from and by reversing the order of the other shape's points.

Note difference achieves a similar, but not identical effect.

Throws

When paths are not available.