@mocanvas/mocanvas · class

CollaboratorCursorOverlayUtil

declare class CollaboratorCursorOverlayUtil extends CollaboratorOverlayUtil

Other people's pointers, with their names beside them.

Drawn in screen space and at a fixed size: a cursor that shrank with the zoom would become invisible on a zoomed-out board, which is exactly when knowing where somebody is matters most.


Methods · 3

getOverlays(): TLCollaboratorCursorOverlay[]
isActive(): boolean
render(ctx: CanvasRenderingContext2D, given?: TLCollaboratorCursorOverlay[]): void

Properties · 3

static options: CollaboratorOverlayUtilOptions
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.