Documentation / @ripl/core / ConicGradient
Interface: ConicGradient
Defined in: packages/core/src/gradient/types.ts:36
A parsed conic gradient with angle, position, color stops, and optional repeating flag.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
angle | number | The starting angle in degrees, measured clockwise from the top. | packages/core/src/gradient/types.ts:42 |
position | [number, number] | The centre position as [x, y] percentages of the paint area. | packages/core/src/gradient/types.ts:44 |
repeating | boolean | Whether the gradient repeats to fill the paint area (repeating-conic-gradient). | packages/core/src/gradient/types.ts:40 |
stops | GradientColorStop[] | The color stops swept around the centre. | packages/core/src/gradient/types.ts:46 |
type | "conic" | Discriminant identifying the gradient as conic. | packages/core/src/gradient/types.ts:38 |