Structure

Gradient.Stop

One color stop in the gradient.

Declaration

@frozen 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