UNPKG

illustrator.js

Version:

JavaScript image processing library

19 lines (18 loc) 549 B
import { BaseShapeTool } from "../base/BaseShapeTool"; export interface DrawEllipseOptions { x: number; y: number; radiusX: number; radiusY: number; rotation: number; startAngle: number; endAngle: number; counterclockwise?: boolean; } export declare type DrawCircleOptions = Omit<DrawEllipseOptions, "radiusX" | "radiusY" | "rotation"> & { radius: number; }; export declare class EllipseTool extends BaseShapeTool { draw(options: DrawEllipseOptions): this; drawCircle(options: DrawCircleOptions): this; }