import { PointLocation } from "../../../ImageViewer/Models"; import { BasePaintObject } from "./BasePaintObject"; import { PaintObjectParameters } from "../../../ImageViewer/Layers"; export declare class RectanglePaintObject extends BasePaintObject<'rectangle'> { borderRadius: number; constructor(position: PointLocation); private roundRectPath; draw(destCtx: CanvasRenderingContext2D, mainCtx: CanvasRenderingContext2D, backCtx: CanvasRenderingContext2D, params?: PaintObjectParameters): Promise; /** * Sets a property by name, supporting "borderRadius" * @param propertyName - Name of the property to set * @param value - New value to assign * @returns true if the property was handled, otherwise delegates to base class */ setProperty(propertyName: any, value: any): boolean; }