project/node_modules/zrender/lib/graphic/RadialGradient.d.ts

16 lines
457 B
TypeScript
Raw Normal View History

2024-07-14 15:48:34 +08:00
import Gradient, { GradientColorStop, GradientObject } from './Gradient';
export interface RadialGradientObject extends GradientObject {
type: 'radial';
x: number;
y: number;
r: number;
}
declare class RadialGradient extends Gradient {
type: 'radial';
x: number;
y: number;
r: number;
constructor(x: number, y: number, r: number, colorStops?: GradientColorStop[], globalCoord?: boolean);
}
export default RadialGradient;