Skip to content

cupertino-files / GradientStop

Interface: GradientStop ​

Defined in: src/tsd/style.ts:131

Properties ​

color ​

color: Color

Defined in: src/tsd/style.ts:132


fraction ​

fraction: number

Defined in: src/tsd/style.ts:134

Position along the gradient, 0..1.


inflection? ​

optional inflection?: number

Defined in: src/tsd/style.ts:136

Midpoint skew toward the next stop, 0..1.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.