@mocanvas/mocanvas · class

ZoomBrushOverlayUtil

declare class ZoomBrushOverlayUtil extends BaseBrushOverlayUtil<TLZoomBrushOverlay>

The zoom tool's brush: the rectangle you drag to zoom to a region.

Everything about it is the selection brush except which slot of the instance record it reads and how loudly it is painted.


Methods · 2

protected getBrushBounds(): OverlayBox | null
getOverlays(): TLZoomBrushOverlay[]

Properties · 3

static options: BrushOverlayUtilOptions
static type: string
static zIndex: number

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.