@mocanvas/editor · interface

TLOverlayUtilConstructor

interface TLOverlayUtilConstructor<U extends OverlayUtil<Editor> = OverlayUtil<Editor>>

A constructor the OverlayManager can register.


Methods · 1

new (editor: Editor): U

Properties · 2

type: string

The id the util is registered under.

zIndex?: number

Painting order; higher paints later, and so wins a hit test. Defaults to 0.

Mentioned here

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.