UNPKG

488 BTypeScriptView Raw
1import { RenderingContext2D } from '../types';
2import { Document } from './Document';
3import { PathElement } from './PathElement';
4import { GradientElement } from './GradientElement';
5export declare 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
\No newline at end of file