byDifference(from:)
Returns a new region created by subtracting the contents of another region from this region.
Declaration
func byDifference(from region: SKRegion) -> SelfParameters
- region:
The region to subtract.
Return Value
A new region whose contents include all points in the current region that are not also included in the second region.