Canvas
Last updated
Last updated
Welcome to the svycanvas wiki!
This wiki provides comprehensive documentation for using the svycanvas web-component, which allows you to create and display an interactive canvas within Servoy's NGClient.
First import the component using one of the release binaries or via Servoy's Web Package Manager.
If you would like to see the component in an example install the included solution svyCanvasExample.servoy.
First add the component to a form by dragging it into the form using the Palette Wizard. It should be under Canvas (Canvas).
Returns the item ID and object selected.
Params
Type | Name | Summary | Required |
---|---|---|---|
Returns the item ID and object selected.
Params
When canvas is modified execute this handler.
Fires when canvas has completed initial rendering
Add an object to canvas
Copies selected object on canvas
Update an object
Remove an object
Clear the canvas
Start animations
Stop animations
Return selected object
Select an object on the canvas
Return current canvas as JSON String
Draw a canvas using JSON String
Return current canvas as an Image
Bring selected element to top of canvas
Rotate the entire canvas and it's objects
Zoom on a particular point.
Params
Type | Name | Summary | Required |
---|---|---|---|
Type | Name | Summary | Required |
---|---|---|---|
Type | Name | Summary | Required |
---|---|---|---|
Type | Name | Summary | Required |
---|---|---|---|
Type | Name | Summary | Required |
---|---|---|---|