SVG

svgFilledCircle()

Draw a filled circle

Syntax

Signature
svgFilledCircle( nSvg, nCx, nCy, nR, cColor ) --> NIL

Arguments

nSvg

Drawing handle returned by svgInit().

nCx

Horizontal coordinate of the center.

nCy

Vertical coordinate of the center.

nR

Radius in SVG units.

cColor

SVG fill color.

Return value

NIL.

Description

Writes a circle filled with the supplied color.

Example

svgFilledCircle.prg
PROCEDURE Main()

   LOCAL nSvg := svgInit( "filled-circle.svg", 200, 200 )

   IF nSvg == 0
      RETURN
   ENDIF

   svgFilledCircle( nSvg, 100, 100, 70, "#264D73" )
   svgClose( nSvg )

RETURN

Output

See also