The fill should extend beyond the starting location. The color that extends beyond the starting point is the solid color defined by the CGGradient
object to be at location 0.
SDKs
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Graphics
Declaration
static var drawsBeforeStartLocation: CGGradient Drawing Options { get }