A.2.2. rectangles, A.2.3. lines – Opticon ESL User Manual
Page 37

Opticon ESL
DEMO KIT
User Manual
37
A.2.2. Rectangles
A (filled) rectangle can be added to the template using the following format:
<Object>
<Condition>%6%</Condition>
<Rectangle>
<Color>0</Color>
<X>0</X>
<Y>0</Y>
<Width>200</Width>
<Height>32</Height>
</Rectangle>
</Object>
<Condition>
(optional) Displaying conditions
<Color>
Color (0=Black; 1=White)
<X> <Y> <Width> <Height> Specify the position and size of the rectangle
A non-filled rectangle can be added by simply drawing two rectangles on top of each other
in opposite colors.
A.2.3. Lines
A line can be added to the template using the following format:
<Object>
<Condition>%6%</Condition>
<Line>
<Color>0</Color>
<X1>0</X1>
<Y1>77</Y1>
<X2>200</X2>
<Y2>77</Y2>
<Size>1</Size>
</Line>
</Object>
<Condition>
(optional) Displaying conditions
<Color>
Color (0=Black; 1=White)
<X1> <Y1> <X2> <Y2>
Specify start/end coordinates
<Size>
Thickness of the line