Draws a round rectangle. The round rectangle can optionally be provided with a frame and a background.
Syntax
C++
METHOD PUBLIC RoundedRect : BOOL
VAR_INPUT
x1 : REAL;
y1 : REAL;
w1 : REAL;
h1 : REAL;
radius : REAL;
style : STRING := '';
END_VAR
Parameters
|
Parameter |
Description |
|---|---|
|
x1 |
Horizontal position (X-axis) of the left/upper corner of the rectangle to be drawn. |
|
y1 |
Vertical position (Y-axis) of the left/upper corner of the rectangle to be drawn. |
|
w1 |
width of the rectangle to be drawn. |
|
h1 |
Height of the rectangle to be drawn. |
|
radius |
Radius of the corners. |
|
style |
Style in which the rectangle is to be drawn. Possible values are::
|
|
Return value |
Status of the call. |
Example
Requirements
Remarks