UNPKG

take-shot

Version:
14 lines (13 loc) 465 B
import { Vector } from './vector'; import { IPath, PathType } from './path'; export declare class BezierCurve implements IPath { type: PathType; start: Vector; startControl: Vector; endControl: Vector; end: Vector; constructor(start: Vector, startControl: Vector, endControl: Vector, end: Vector); subdivide(t: number, firstHalf: boolean): BezierCurve; add(deltaX: number, deltaY: number): BezierCurve; reverse(): BezierCurve; }