An optional array of NSNumber objects defining the location of each gradient stop. Animatable.
SDKs
- iOS 3.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Core Animation
Declaration
Discussion
The gradient stops are specified as values between 0
and 1
. The values must be monotonically increasing. If nil
, the stops are spread uniformly across the range. Defaults to nil
.
When rendered, the colors are mapped to the output color space before being interpolated.