L-VIS User Manual 131 LOYTEC
Version 6.2 LOYTEC electronics GmbH
ï‚· Filled: Available for rectangles, circles, and polygon drawings, defines that the
object should be filled with the color specified as the container color, rather than
the background color. To draw a frame only, leave this option unchecked and
make sure the transparent background option on the Color property page is
checked.
ï‚· Line Width: Defines the line with used to draw the lines of a line or polygon
drawing and the outline of a rectangle or circle.
ï‚· Corner Radius: Available for rectangles, defines the desired corner radius for a
rounded rectangle. Leave this value at zero to disable rounded corners. Note that
this value defines the radius of the outer edge of the rectangles outline. The
resulting inner radius depends on the selected line width.
The following colors may be set for drawing controls on the Color property page:
Table 23: Color assignment for vector drawing controls
For data input, the push button mode can be used. This mode works the same as for text and
bitmap controls (see section 9.5.3 for a description of the push button mode). From the
attached mapping table, drawing objects use the assigned color to fill rectangles, circles,
and polygons, or draw the lines of a line drawing. This can be used to create drawings
which change their color based on the controls value.
NOTE: For polygon drawings, the active area to touch the control is limited to the shape of the
polygon. This includes all areas which would be drawn in the container color if the polygon
is filled.
For input methods which exceed the possibilities of push button mode, overlay the drawing
control with the required type of data input control, for example a number or text control,
and use this control to handle data input.
NOTE: Vector Controls are the recommended way to define clickable areas on a page which uses a
background graphic. In this case, the pages background already provides the graphic
representation of buttons, lamps, building floors, or other elements, which should be
selectable by the user. Using vector controls with transparent border and container,
regions of any shape may be defined on the page. The control itself usually has an action
connected to it, to jump to a new page or update a data point.
9.5.11.1 Drawing Mode
Rectangles and circles always fill the entire control. To modify their shape or position on
the screen, just change the size or position of the control as required. To edit a line or
polygon drawing, a special drawing mode is required. This mode is automatically entered
for a newly added line or polygon drawing and can be reactivated later at any time by
selecting the item Edit Contents from the context menu of the control, or by pressing the
key e in the LCD preview when the vector control is selected.