@mocanvas/editor · interface

Instance

interface Instance

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 26

brush: {
currentPageId: PageId
cursor: {
devicePixelRatio: number
duplicateProps: {
exportBackground: boolean
followingUserId: UserId | null

The person whose camera we are mirroring, or null. See Editor.startFollowingUser.

readonly id: InstanceId
insets: boolean[]
isChangingStyle: boolean
isCoarsePointer: boolean
isDebugMode: boolean
isFocused: boolean
isFocusMode: boolean
isGridMode: boolean
isHoveringCanvas: boolean | null
isPenMode: boolean
isReadonly: boolean
isToolLocked: boolean
meta: JsonObject
openMenus: string[]
screenBounds: {
scribbles: Scribble[]
stylesForNextShape: Record<string, unknown>
readonly typeName: "instance"
zoomBrush: {

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.