SVGCircle

Part of wslib


see also: SVG, SVGFile


superclass : SVGObject


The SVGCircle holds the data for a circle


creation


SVGCircle ( cx, cy, r, name, strokeColor, fillColor, strokeWidth, transform )

creates a new object with the instance variables as described below and in the SVGObject helpfile


instance variables


cx, cy

center x/y location


r

radius


strokeColor, fillColor

colors for stroke and fill. These can be 

a Color

a String or Symbol with a color name ( e.g. "light_blue" or "#0000FF" )

"none" or nil

strokeWidth

defaults to 1.


SVGCircle( 200, 200, 150, "my circle", "chocolate", "forest_green", 10 ).plot;