CANVAS item definition

Defines an area in which you can draw shapes, in a grid-based layout.

Syntax

CANVAS item-tag: item-name [  , attribute-list ] ;
  1. item-tag is an identifier that defines the name of the item tag in the layout section.
  2. item-name identifies the form item.
  3. attribute-list defines the aspect and behavior of the form item.

Attributes

COMMENT, HIDDEN, TAG.

Usage

Define the rendering and behavior of a canvas drawing area item tag, with a CANVAS element in the ATTRIBUTES section.
Note: The CANVAS feature is deprecated, consider using a WEBCOMPONENT with SVG graphics.

Example

LAYOUT
GRID
{
[cvs1             ]
[                 ]
[                 ]
 ...

}
END
END

ATTRIBUTES
CANVAS cvs1: canvas1;
...