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

Ellipse -- An SVG ellipse

Description

An SVG ellipse. The three compulsory options are Center (coordinates of the center) and RadiusX, RadiusY (radii).

i1 : Ellipse{Center=>vector{10,10},RadiusX=>50,RadiusY=>20,"stroke"=>"none","fill"=>"red"}

o1 = Ellipse{cache => CacheTable{}}
             Center => | 10 |
                       | 10 |
                       |  0 |
                       |  1 |
             fill => red
             RadiusX => 50
             RadiusY => 20
             stroke => none

o1 : Ellipse
i2 : Ellipse{(10,10),50,20,"stroke"=>"blue"} -- equivalent syntax

o2 = Ellipse{cache => CacheTable{}}
             Center => | 10 |
                       | 10 |
                       |  0 |
                       |  1 |
             RadiusX => 50
             RadiusY => 20
             stroke => blue

o2 : Ellipse

Caveat

Does not really make sense in a 3d context.

For the programmer

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