import { Point, PointOptOff, Polygon } from "./polygon.js"; /** * Calculates global coordinates from local coordinates around a pen * based on its position and direction. * @internal */ export declare class Pen { protected x: number; protected y: number; protected cos_theta: number; protected sin_theta: number; constructor(x: number, y: number); setMatrix2(cos_theta: number, sin_theta: number): this; setLeft(otherX: number, otherY: number): this; setRight(otherX: number, otherY: number): this; setUp(otherX: number, otherY: number): this; setDown(otherX: number, otherY: number): this; move(localDx: number, localDy: number): this; getPoint(localX: number, localY: number, off?: boolean): Point; getPolygon(localPoints: readonly PointOptOff[]): Polygon; }