next | previous | forward | backward | up | top | index | toc | Macaulay2 website
VectorGraphics :: Circle

Circle -- An SVG circle

Description

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

Types of Circle :

For the programmer

The object Circle is an instance of the type GraphicsType, with ancestor classes GraphicsObject < HashTable < Thing.