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

Margin -- An option to specify the margin

Description

The margin is proportional to the size of the image. It increases the view port beyond the value returned by viewPort or set by ViewPort. Only has an effect if in the outermost VectorGraphics object.

i1 : Circle{"fill"=>"red","stroke"=>"none",Margin=>0}

o1 = Circle{cache => CacheTable{}             }
            Center => | 0 |
                      | 0 |
                      | 0 |
                      | 1 |
            Margin => 0
            Radius => 50
            style => MutableHashTable{...2...}

o1 : Circle
i2 : Circle{"fill"=>"red","stroke"=>"none",Margin=>0.5}

o2 = Circle{cache => CacheTable{}             }
            Center => | 0 |
                      | 0 |
                      | 0 |
                      | 1 |
            Margin => .5
            Radius => 50
            style => MutableHashTable{...2...}

o2 : Circle

For the programmer

The object Margin is a symbol.