next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Graphics :: svgObject(Point2D,HashTable)

svgObject(Point2D,HashTable) -- create the string describing a point in SVG

Synopsis

Description

The options that are not given in myoptions are set at the default values contained in defaultSVGOptions.

i1 : myoptions = hashTable {"fill"=>"black"}

o1 = HashTable{fill => black}

o1 : HashTable
i2 : svgObject(point(20,30),myoptions)

o2 = <circle cx="20" cy="30 r="2" stroke="black" fill-opacity="1"
     stroke-width="0" fill="black" stroke-opacity="1" />