@mocanvas/mocanvas · interface
interface ShapeHandleOverlayUtilOptions extends OverlayOptionsWithDisplayValues<ShapeHandleOverlayUtilDisplayValues>Handle geometry, all in CSS pixels so handles are one size at every zoom.
Properties · 5
hitPadding: numberExtra pointer slack around a handle, on top of its radius. A 6px dot is hard to hit on a trackpad and impossible on touch; the target is bigger than the thing you can see, deliberately.
lineWidth: numberOutline weight.
radius: numberRadius of a real (vertex, create, clone) handle.
virtualOpacity: numberOpacity of a virtual handle.
virtualRadius: numberRadius of a virtual handle — smaller, because it is only a suggestion.
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.