Icard/angular-clarity-master(work.../node_modules/canvg/lib/Document/SVGElement.d.ts

16 lines
550 B
TypeScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
import { RenderingContext2D } from '../types';
import RenderedElement from './RenderedElement';
export default class SVGElement extends RenderedElement {
type: string;
root: boolean;
setContext(ctx: RenderingContext2D): void;
clearContext(ctx: RenderingContext2D): void;
/**
* Resize SVG to fit in given size.
* @param width
* @param height
* @param preserveAspectRatio
*/
resize(width: number, height?: number, preserveAspectRatio?: boolean | string): void;
}
//# sourceMappingURL=SVGElement.d.ts.map