Initializing help system before first use

svgaddcircle

svgaddcircle


Purpose
Add a circle to an object group.
Synopsis
procedure svgaddcircle(gid: string, x: real, y: real, r: real)
procedure svgaddcircle(x: real, y: real, r: real)
Arguments
gid 
Object group ID.
The x coordinate of the center point.
The y coordinate of the center point.
The length of the radius of the circle.
Example
The following code draws a filled, semi-transparent circle centered at the origin with a radius of 10.
declarations
  circ: integer
end-declarations

svgaddcircle(0, 0, 10)
circ:=svggetlastobj
svgsetstyle(circ, SVG_FILL, SVG_CYAN)
svgsetstyle(circ, SVG_OPACITY, 0.5)
Further information
If no group ID is specified, the circle is added to the last group that has been created.