Returns the current height of the canvas
Sets the element being hovered over
Sets the element being hovered over
The new element
Returns the current width of the canvas
Selects a given element
Clears the selection of all canvas elements
Clips the canvas to a rectangle
Deselects a given element
Draws a rectangle within the given bounds
Draws a simple line from four coordinates
Draws a text
The text to draw
The text X position
The text Y position
The font to use
The maximum width of the text
The horizontal alignment
The vertical alignment
Returns the element at the given position
Converts global coordinates to element based coordinates
Returns the handle at the given position
Invalidates the canvas by emptying it
Tests whether an element is selected
Measures the width of a text
The text to measure
The font to use
Moves an element on the canvas
The element to move
Movement in X direction
Movement in Y direction
Move the offset point of the canvas
Pops the canvas stack
Pushes the canvas stack
Renders the canvas
Invalidates and renders the canvas
Resizes the canvas
The new width of the canvas
The new height of the canvas
Updates the handles of a given element
The element who's handles are updated
Zooms 100%
Zooms into the diagram
Zooms out of the diagram
Generated using TypeDoc
Returns the current cursor