interface export
PainterPath2D
Path2D + custom lines: `painter.path2d.create(…)`, `.draw(…)`, `.custom(…)`.
apexify.jsCURRENTnode22node24node26
Source: lib-next/types/painter-facets.ts (opens in a new tab)Signature
export interface PainterPath2D {
create(commands: PathCommand[]): Path2D;
draw(canvasBuffer: CanvasResults | Buffer, path: Path2D | PathCommand[], options?: Path2DDrawOptions): Promise<Buffer>;
custom(options: CustomOptions | CustomOptions[], buffer: CanvasResults | Buffer): Promise<Buffer>;
}Related APIs
No explicit related API metadata.