Structure

Gradient.Stop

One color stop in the gradient.

Declaration

struct Gradient.Stop

Topics

Initializers

init(color: Color, location: CGFloat)

Creates a color stop with a color and location.

Instance Properties

var color: Color

The color for the stop.

var location: CGFloat

The parametric location of the stop.

Operator Functions

Relationships

Conforms To

Beta Software

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