difference

open fun difference(other: Shape2d?): Shape2d

Wherever this and other overlap there is a void. The rest of this shape remains unchanged. other does not appear in the result.

It is normal to use the minus operator, which does exactly the same as this.

NOTE paths are not available for the difference.

If other == null, then this is returned.