LinearGradientElement.d.ts 485 B

12345678910
  1. import { RenderingContext2D } from '../types';
  2. import Document from './Document';
  3. import PathElement from './PathElement';
  4. import GradientElement from './GradientElement';
  5. export default class LinearGradientElement extends GradientElement {
  6. type: string;
  7. constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
  8. getGradient(ctx: RenderingContext2D, element: PathElement): CanvasGradient;
  9. }
  10. //# sourceMappingURL=LinearGradientElement.d.ts.map