1 | import { RenderingContext2D } from '../types';
|
2 | import Point from '../Point';
|
3 | import BoundingBox from '../BoundingBox';
|
4 | import PathParser from '../PathParser';
|
5 | import Document from './Document';
|
6 | import RenderedElement from './RenderedElement';
|
7 | export declare type Marker = [Point, number];
|
8 | export default class PathElement extends RenderedElement {
|
9 | type: string;
|
10 | readonly pathParser: PathParser;
|
11 | constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
|
12 | path(ctx?: RenderingContext2D): BoundingBox;
|
13 | getBoundingBox(_?: RenderingContext2D): BoundingBox;
|
14 | getMarkers(): Marker[];
|
15 | renderChildren(ctx: RenderingContext2D): void;
|
16 | protected pathM(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
17 | protected pathL(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
18 | protected pathH(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
19 | protected pathV(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
20 | protected pathC(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
21 | protected pathS(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
22 | protected pathQ(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
23 | protected pathT(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
24 | protected pathA(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
25 | protected pathZ(ctx: RenderingContext2D, boundingBox: BoundingBox): void;
|
26 | }
|
27 | //# sourceMappingURL=PathElement.d.ts.map |
\ | No newline at end of file |