UNPKG

457 BTypeScriptView Raw
1import Gradient, { GradientColorStop, GradientObject } from './Gradient';
2export interface RadialGradientObject extends GradientObject {
3 type: 'radial';
4 x: number;
5 y: number;
6 r: number;
7}
8declare class RadialGradient extends Gradient {
9 type: 'radial';
10 x: number;
11 y: number;
12 r: number;
13 constructor(x: number, y: number, r: number, colorStops?: GradientColorStop[], globalCoord?: boolean);
14}
15export default RadialGradient;