General Properties of Graphic Objects

SUMMARY

General Properties of Graphic Objects

CONTENTS

  1. General Properties of Graphic Objects

General Properties of Graphic Objects

The names of the attributes used in XML-Files, Refresh- and Action-Scripts are denoted in brackets.

Name (Name)
The name of a Graphic Object must be unique within a picture.

Description
Arbitrary text

Hide
Tells whether a Graphic Object should be drawn. Only valid in runtime; the default value is 0 (not hidden).

Layer
Defines the Layer for the Graphic Object. The Layer must be defined in advance. Layers defined for that picture are available.

Rectangle (BoundRect)
Defines the rectangle enclosing the Graphic Object. While drawing it is adjusted automatically, but it can be modified manually to place the Object exactly on pixel level.

Format: <left>;<top>;<dx>;<dy>

designation Meaning
left X-Coordinate of the left top corner
top Y-Coordinate of the left top corner
dx width
dy height

On rotated Graphic Objects the original (not rotated) rectangle is given.

Refresh-Skript (OnRefresh)
The script is executed if any of the variables bound to the Graphic Object changes, afterwards the Object is redrawn.

Rotation Angle (Rotation)
Defines the Rotation Angle in degrees (0 to 359). Not available for polygons, groups and interactive elements (e.g. Buttons, Entry Fields), as well as figures containing interactive elements.