The end point of the gradient when drawn in the layer’s coordinate space. Animatable.
- iOS 3.0+
- macOS 10.6+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The end point corresponds to the last stop of the gradient. The point is defined in the unit coordinate space and is then mapped to the layer’s bounds rectangle when drawn.
Default value is
Gradient Style Properties
var colors: [Any]?
An array of
CGColorRef objects defining the color of each gradient stop. Animatable.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software