ELLIPSE ​
Draws an ellipse or circle.
Syntax ​
ELLIPSE [ x:measureValue ] [ y:measureValue ] [ rx:measureValue ] [ ry:measureValue ] .Parameters ​
x(measureValue, optional) - The x-coordinate of the ellipse's center. The default is0cm.y(measureValue, optional) - The y-coordinate of the ellipse's center. The default is0cm.rx(measureValue, optional) - The horizontal radius (half the width) of the ellipse. The default is0cm.ry(measureValue, optional) - The vertical radius (half the height) of the ellipse. The default is0cm.
Details ​
The style of this command is defined by the PEN command for the outline and the FILL command to fill the shape.
The ellipse is centered on the x and y point. The radii rx and ry specify the distance from the centre to the horizontal (rx) or to the vertical (ry) edges respectively. If the same value is assigned to rx and ry, a circle with the corresponding radius will be drawn.
Rotation around the shape's centre is not possible. This has an influence on the drawing of relations where an ellipse will always ignore any kind of rotation and be drawn as if the relation was going horizontal from the left to the right.
See Also ​
Examples ​
Draw a circle with a 1cm radius.
GRAPHREP
SHADOW off
ELLIPSE x:0cm y:0cm rx:1cm ry:1cmDraw a blue ellipse with a green outline and which is 2cm wide and 1.3cm tall.
GRAPHREP
SHADOW off
PEN color:"green" w:3pt
FILL color:"skyblue"
ELLIPSE x:0cm y:0cm rx:1cm ry:0.65cmVersions and Changes ​
Available since ADOxx 1.3