SKRegion
The definition of an arbitrary area.
Declaration
class SKRegionOverview
An SKRegion object defines a mathematical shape and is typically used to determine whether a particular point lies inside this area. For example, regions are used to define the area that a physics field can affect. Regions are defined using paths and mathematical shapes and can also be combined using constructive solid geometry.
Topics
Creating and Initializing Region Objects
infinite()init(size:)init(radius:)init(path:)inverse()byDifference(from:)byIntersection(with:)byUnion(with:)