RadialGradient.d.ts 457 B

123456789101112131415
  1. import Gradient, { GradientColorStop, GradientObject } from './Gradient';
  2. export interface RadialGradientObject extends GradientObject {
  3. type: 'radial';
  4. x: number;
  5. y: number;
  6. r: number;
  7. }
  8. declare 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. }
  15. export default RadialGradient;