Graphic and logic elements
7.1
Line, dividing line, rectangle, circle and ellipse
Description
Lines, dividing lines, rectangles and ellipses/circles are configured in the LOAD method:
● Transparent rectangles are created by setting the fill color to the system background color.
● With the ELLIPSE element, a circle is created by setting the height and the width to the
same value.
● Horizontal and vertical dividing lines always have the exact window width or window height.
No scrollbars are produced by dividing lines.
If you previously used the RECT element to display dividing lines, e.g.
RECT(305,0,1,370,0,0,1), this is detected by the Programming Support and automatically
converted to V_SEPARATOR(305,1,"#87a5cd", 1). This applies to both vertical and
horizontal dividing lines.
LINE element
Programming:
Syntax:
Description:
Parameter:
RECT element
Programming:
Syntax:
Description:
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
LINE (x1,y1,x2,y2,f,s)
Defines a line
x1
Start point x-coordinate
y1
Start point y-coordinate
x2
End point x-coordinate
y2
End point y-coordinate
f
Color of the line
s
Line style:
1 = solid
2 = dashed
3 = dotted
4 = dashed and dotted
RECT (x,y,w,h,f1,f2,s)
Defines a rectangle
7
163