1 | import { BasicPoint, Point } from './point';
|
2 | export declare class Bezier {
|
3 | startPoint: Point;
|
4 | control2: BasicPoint;
|
5 | control1: BasicPoint;
|
6 | endPoint: Point;
|
7 | startWidth: number;
|
8 | endWidth: number;
|
9 | static fromPoints(points: Point[], widths: {
|
10 | start: number;
|
11 | end: number;
|
12 | }): Bezier;
|
13 | private static calculateControlPoints;
|
14 | constructor(startPoint: Point, control2: BasicPoint, control1: BasicPoint, endPoint: Point, startWidth: number, endWidth: number);
|
15 | length(): number;
|
16 | private point;
|
17 | }
|