combine

open fun combine(other: Shape2d): Polygon

Creates a single complex Polygon from the two shapes. This only differs from hole because hole reverses the order of the other shape's points.

Note union achieves a similar, but not identical, effect.

Throws

When paths are not available.