Type Alias LinePath

LinePath: Line & Path & {
    apply(fn: ((point: Point) => Point)): LinePath;
    divide(point: Point): LinePath;
    isEqual(otherLine: Line): boolean;
    midpoint(): Point;
    multiply(point: Point): LinePath;
    parallel(distance: number): Line;
    perpendicularPoint(distance: number, amount?: number): Point;
    rotate(amountRadian: number, origin: Point): LinePath;
    slope(): number;
    subtract(point: Point): LinePath;
    sum(point: Point): LinePath;
    toFlatArray(): readonly number[];
    toPoints(): readonly Point[];
    withinRange(point: Point, maxRange: number): boolean;
}