@mocanvas/mocanvas · interface

SelectionForegroundOverlayUtilOptions

interface SelectionForegroundOverlayUtilOptions extends OverlayOptionsWithDisplayValues<SelectionForegroundOverlayUtilDisplayValues>

Selection chrome geometry, in CSS pixels.


Properties · 5

handleRadius: number

Corner radius of a square handle.

handleSize: number

Side of a square corner/edge handle.

hitPadding: number

Extra pointer slack around each handle, on top of its own size.

lineWidth: number

Outline weight for the box and the handles.

rotateRadius: number

Radius of the round rotate handle.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.