@mocanvas/editor · interface

TLCursor

interface TLCursor

The cursor to show, and how far to rotate it.

rotation is in radians and only means anything for the directional cursors; it is what keeps a resize cursor pointing along the edge of a rotated shape.


Properties · 2

rotation: number
type: TLCursorType

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.