@mocanvas/mocanvas · class
declare class BrushOverlayUtil extends BaseBrushOverlayUtil<TLBrushOverlay>Paints the select tool's brush.
Register it — or a configured subclass — as an overlay util:
``ts
<Mocanvas overlayUtils={[BrushOverlayUtil.configure({ radius: 0 })]} />
``
Methods · 2
protected getBrushBounds(): OverlayBox | nullgetOverlays(): TLBrushOverlay[]Properties · 3
static options: BrushOverlayUtilOptionsstatic type: stringstatic zIndex: numbermocanvas 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.