init(location:timeOffset:size:opacity:force:azimuth:altitude:)
Creates a new point with the provided properties.
Declaration
init(location: CGPoint, timeOffset: TimeInterval, size: CGSize, opacity: CGFloat, force: CGFloat, azimuth: CGFloat, altitude: CGFloat)Parameters
- location:
The location of this point.
- timeOffset:
The time offset since the start of this stoke path in seconds.
- size:
The size of this point.
- opacity:
The opacity of this point, ranging from
0to2. - force:
The amount of force used to create this point.
- azimuth:
The azimuth of this point in radians.
- altitude:
The altitude of this point in radians.