@mocanvas/mocanvas · class

CollaboratorOverlayUtil

declare abstract class CollaboratorOverlayUtil<O extends CollaboratorOverlayUtilOptions = CollaboratorOverlayUtilOptions> extends OverlayUtil<Editor, O>

The half every collaborator painter shares: who to draw, and how faded.

Not exported as part of the SDK surface — an app subclasses one of the five concrete utils, which is the granularity anybody actually wants.


Methods · 3

protected baseRecord(presence: InstancePresence): {

The fields every collaborator overlay record carries.

getGeometry(): Geometry2d | undefined

Nothing another person is doing is clickable by us.

protected getPeople(): InstancePresence[]

Everybody present and on this page. Never the local user.

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.