1 | import { RenderingContext2D } from '../types';
|
2 | import { RenderedElement } from './RenderedElement';
|
3 | export declare class SVGElement extends RenderedElement {
|
4 | type: string;
|
5 | root: boolean;
|
6 | setContext(ctx: RenderingContext2D): void;
|
7 | clearContext(ctx: RenderingContext2D): void;
|
8 | /**
|
9 | * Resize SVG to fit in given size.
|
10 | * @param width
|
11 | * @param height
|
12 | * @param preserveAspectRatio
|
13 | */
|
14 | resize(width: number, height?: number, preserveAspectRatio?: boolean | string): void;
|
15 | }
|
16 | //# sourceMappingURL=SVGElement.d.ts.map |
\ | No newline at end of file |