illustrator.js
Version:
JavaScript image processing library
14 lines (13 loc) • 351 B
TypeScript
import { ToolBox } from "../base/ToolBox";
export interface EraserOptions {
x: number;
y: number;
width: number;
height: number;
}
export declare class EraserTool extends ToolBox {
rectangular(options: EraserOptions): this;
circular(options: Omit<EraserOptions, "width" | "height"> & {
radius?: number;
}): this;
}