import { type ControlRenderingStyleOverride, type InteractiveFabricObject, type TCornerPoint, Point, type Control } from 'fabric'; /** * Custom shouldActivate for L-shaped corner controls. * Checks if pointer is within either arm of the L. */ export declare function shouldActivateCorner(this: Control, controlKey: string, fabricObject: InteractiveFabricObject, pointer: Point, corner: TCornerPoint): boolean; /** * Render a rounded segment control (line with round caps). * Useful for edge resize handles. * @param {CanvasRenderingContext2D} ctx context to render on * @param {Number} left x coordinate where the control center should be * @param {Number} top y coordinate where the control center should be * @param {Object} styleOverride override for FabricObject controls style * @param {FabricObject} fabricObject the fabric object for which we are rendering controls */ export declare function renderRoundedSegmentControl(this: Control, ctx: CanvasRenderingContext2D, left: number, top: number, styleOverride: ControlRenderingStyleOverride, fabricObject: InteractiveFabricObject): void; /** * Render an L-shaped corner control using two rounded segments. * Matches the style of renderRoundedSegmentControl. */ export declare function renderCornerControl(this: Control, ctx: CanvasRenderingContext2D, left: number, top: number, styleOverride: ControlRenderingStyleOverride, fabricObject: InteractiveFabricObject): void; //# sourceMappingURL=controlRendering.d.ts.map