ellipse()
Produces a SVG "ellipse"
element.
Syntax
ellipse(
cx DECIMAL,
cy DECIMAL,
rx DECIMAL,
ry DECIMAL )
RETURNS om.DomNode
- cx defines the X coordinate of the center of the ellipse.
- cy defines the Y coordinate of the center of the ellipse.
rx
defines the X radius of the ellipse.ry
defines the Y radius of the ellipse.
Usage
This function creates an "ellipse"
SVG DOM element from the parameters.
Example
DEFINE n om.DomNode
LET n = fglsvgcanvas.ellipse(100,100,50,60)
CALL n.setAttribute(SVGATT_STYLE,"stroke:#006600;")