Canvas - Imageservice funktion library
The functions of the Canvas Library provide tools for editing pictures in the onion.net Template System. The namespace referencing of http://onionworks.net/2006/imageservice/canvas is necessary for using these functions.
Namespace: http://onionworks.net/2006/imageservice/canvas
Name | Parameter | Return type | Description |
---|---|---|---|
createCanvas | workspaceOrImage:nodeset [fontQuality:string] |
nodeset | Creates a canvas making drawing in a picture possible.. |
drawEllipse | canvas:nodeset rectangle:nodeset fill:nodeset |
void | Draws an ellipse into a picture. |
drawLine | canvas:nodeset startPoint :nodeset endPoint:nodeset pen:nodeset |
void | Draws a line into a picture. |
drawLines | canvas:nodeset pointNavigator:nodeset pen:nodeset |
void | Draws several lines into a picture. |
drawPolygon | canvas:nodeset pointNavigator:nodeset penorfill:nodeset |
void | Draws a polygon into a picture. |
drawRectangle | canvas:nodeset rectangle:nodeset fill:nodeset |
void | Draws a rectangle into a picture. |
drawText | canvas:nodeset text:string positionOrRectangle:nodeset font:nodeset fill:nodeset [textFormat:nodeset] |
nodeset | Inserts text into a picture. |