1 | import Point from './Point';
|
2 | export default class PathParser {
|
3 | control: Point;
|
4 | start: Point;
|
5 | current: Point;
|
6 | command: string;
|
7 | private readonly tokens;
|
8 | private i;
|
9 | private previousCommand;
|
10 | private points;
|
11 | private angles;
|
12 | constructor(path: string);
|
13 | reset(): void;
|
14 | isEnd(): boolean;
|
15 | isCommandOrEnd(): boolean;
|
16 | isRelativeCommand(): boolean;
|
17 | getToken(): string;
|
18 | getScalar(): number;
|
19 | nextCommand(): void;
|
20 | getPoint(): Point;
|
21 | getAsControlPoint(): Point;
|
22 | getAsCurrentPoint(): Point;
|
23 | getReflectedControlPoint(): Point;
|
24 | makeAbsolute(point: Point): Point;
|
25 | addMarker(point: Point, from?: Point, priorTo?: Point): void;
|
26 | addMarkerAngle(point: Point, angle: number): void;
|
27 | getMarkerPoints(): Point[];
|
28 | getMarkerAngles(): number[];
|
29 | }
|
30 | //# sourceMappingURL=PathParser.d.ts.map |
\ | No newline at end of file |