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