@thi.ng/axidraw
Version:
Minimal AxiDraw plotter/drawing machine controller for Node.js
20 lines • 595 B
TypeScript
import type { IDeref, IReset } from "@thi.ng/api";
import { AxiDrawState } from "./api.js";
/**
* Default implementation with easy-to-use API to control the processing of draw
* commands via {@link AxiDraw.draw}.
*
* @remarks
* See {@link AxiDrawOpts.control} for further details.
*/
export declare class AxiDrawControl implements IDeref<AxiDrawState>, IReset {
interval: number;
state: AxiDrawState;
constructor(interval?: number);
deref(): AxiDrawState;
reset(): this;
pause(): void;
resume(): void;
cancel(): void;
}
//# sourceMappingURL=control.d.ts.map