1 | export declare class BoundingBox {
|
2 | x1: number;
|
3 | y1: number;
|
4 | x2: number;
|
5 | y2: number;
|
6 | constructor(x1?: number, y1?: number, x2?: number, y2?: number);
|
7 | get x(): number;
|
8 | get y(): number;
|
9 | get width(): number;
|
10 | get height(): number;
|
11 | addPoint(x: number | undefined, y: number | undefined): void;
|
12 | addX(x: number): void;
|
13 | addY(y: number): void;
|
14 | addBoundingBox(boundingBox: BoundingBox | null): void;
|
15 | private sumCubic;
|
16 | private bezierCurveAdd;
|
17 | addBezierCurve(p0x: number, p0y: number, p1x: number, p1y: number, p2x: number, p2y: number, p3x: number, p3y: number): void;
|
18 | addQuadraticCurve(p0x: number, p0y: number, p1x: number, p1y: number, p2x: number, p2y: number): void;
|
19 | isPointInBox(x: number, y: number): boolean;
|
20 | }
|
21 | //# sourceMappingURL=BoundingBox.d.ts.map |
\ | No newline at end of file |