An SVG circle. The two compulsory options are Center (coordinates of the center) and Radius (radius). In 3d, gives a decent approximation of a sphere.
i1 : Circle{Center=>vector {10,10},Radius=>50,"fill"=>"green","stroke"=>"none"} o1 = Circle{cache => CacheTable{}} Center => | 10 | | 10 | | 0 | | 1 | fill => green Radius => 50 stroke => none o1 : Circle |
i2 : Circle{(10,10),10} -- equivalent syntax for coordinates o2 = Circle{cache => CacheTable{}} Center => | 10 | | 10 | | 0 | | 1 | Radius => 10 o2 : Circle |
The object Circle is an instance of the type GraphicsType, with ancestor classes GraphicsObject < HashTable < Thing.