Contents

GraphicsContext.GradientOptions

Options that affect the rendering of color gradients.

Declaration

@frozen struct GradientOptions

Overview

Use these options to affect how SwiftUI manages a gradient that you create for a GraphicsContext.Shading instance for use in a GraphicsContext.

Topics

Getting gradient options

See Also

Drawing a path