The Canvas object

Path: relative paths according to sequences.

Snippet ID: Canvas

Corresponding AUI Tree element: FormField/Canvas

This object also have common items, see Common fields for more details

Fields (Attributes) Type Description
height Attribute (number) Corresponds to the height of the canvas.
items Collection of CanvasItem objects A list of CanvasItem which type could be: CanvasArc,CanvasCircle, CanvasLine, CanvasOval, CanvasPolygon, CanvasRectangle, CanvasText.
items/length Attribute (number) Number of items in the collection.
arc Object CanvasItem object which type is CanvasArc.
circle Object CanvasItem object which type is CanvasCircle.
line Object CanvasItem object which type is CanvasLine.
oval Object CanvasItem object which type is CanvasOval.
polygone Object CanvasItem object which type is CanvasPolygon.
rectangle Object CanvasItem object which type is CanvasRectangle.
text Object CanvasItem object which type is CanvasText.