Macaulay2 » Documentation
Packages » VectorGraphics :: Ellipse
next | previous | forward | backward | up | index | toc

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 |
             RadiusX => 50
             RadiusY => 20
             style => MutableHashTable{...2...}

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
             style => MutableHashTable{...1...}

o2 : Ellipse

Caveat

Does not really make sense in a 3d context.

Types of Ellipse :

For the programmer

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