Skip to main content

Home > @jsplumbtoolkit/browser-ui-plugin-drawing-tools > DrawingToolsPlugin

DrawingToolsPlugin class#

Signature:

export declare class DrawingToolsPlugin implements SurfacePlugin 

Implements: SurfacePlugin

Properties#

PropertyModifiersTypeDescription
_dragHandlers{ "tl": (dx: number, dy: number) => Record<string, number>; "tr": (dx: number, dy: number) => Record<string, number>; "bl": (dx: number, dy: number) => Record<string, number>; "br": (dx: number, dy: number) => Record<string, number>; }
_movingboolean
gridGrid
heightAttstring
ignoreGridboolean
jspBrowserJsPlumbInstance
leftAttstring
minimumHeightnumber
minimumWidthnumber
onDemandboolean
onEdit(o: any) => any
skeletonsRecord<string, any>
surfaceSurface
toolkitJsPlumbToolkit
topAttstring
typestaticstring
widthAttstring
xAxisboolean
yAxisboolean

Methods#

MethodModifiersDescription
destroy()
edit(obj)
getCoordinates(el)Gets the origin and size of an element that is being managed by the Surface.
initialise(surface, options)
reset()