Syntax
svgCircle( nSvg, nCx, nCy, nR, [cColor] ) --> NILArguments
nSvg
Drawing handle returned by svgInit().
nCx
Horizontal coordinate of the center.
nCy
Vertical coordinate of the center.
nR
Circle radius in SVG units.
cColor
Optional SVG stroke color. Omit it or pass NIL to use the pen color.
Return value
NIL.
Description
The outline uses the current pen and is centered on the boundary. The circle has no fill. cColor changes only the color of this outline and does not change the pen.
Example
PROCEDURE Main()
LOCAL nSvg := svgInit( "circle.svg", 200, 200 )
IF nSvg == 0
RETURN
ENDIF
svgPen( nSvg, 5, "black" )
svgCircle( nSvg, 100, 100, 70, "#264D73" )
svgClose( nSvg )
RETURNOutput