Home > @jsplumbtoolkit/browser-ui-plugin-drawing-tools > DrawingToolsPlugin
DrawingToolsPlugin class
Signature:
export declare class DrawingToolsPlugin implements SurfacePlugin
Implements: SurfacePlugin
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
_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>; } | ||
_moving | boolean | ||
grid | Grid | ||
heightAtt | string | ||
ignoreGrid | boolean | ||
jsp | BrowserJsPlumbInstance | ||
leftAtt | string | ||
minimumHeight | number | ||
minimumWidth | number | ||
onDemand | boolean | ||
onEdit | (o: any) => any | ||
skeletons | Record<string, any> | ||
surface | Surface | ||
toolkit | JsPlumbToolkit | ||
topAtt | string | ||
type | static | string | |
widthAtt | string | ||
xAxis | boolean | ||
yAxis | boolean |
Methods
Method | Modifiers | Description |
---|---|---|
destroy() | ||
edit(obj) | ||
getCoordinates(el) | Gets the origin and size of an element that is being managed by the Surface. | |
initialise(surface, options) | ||
reset() |