One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

Gradient.ColorSpace

struct · iOS 16.0+ · SDK 27.1

struct ColorSpace

A method of interpolating between the colors in a gradient.

Members (2)

get · iOS 16.0+

perceptual

TypeScript
static get perceptual(): Gradient_ColorSpace
Swift declaration
static let perceptual: Gradient.ColorSpace

Interpolates gradient colors in a perceptual color space.

get · iOS 16.0+

device

TypeScript
static get device(): Gradient_ColorSpace
Swift declaration
static let device: Gradient.ColorSpace

Interpolates gradient colors in the output color space.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →