@mocanvas/editor · interface
interface TLCursorPropsThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 5
color?: stringThe collaborator's colour, when this is somebody else's cursor.
name?: string | nullThe collaborator's name, drawn beside the arrow.
point?: {Screen-space position, for a collaborator's cursor.
rotation: numberRotation in radians — a resize cursor follows the shape it will resize.
type: stringThe cursor kind, as editor.getCursor() reports it.
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.