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

svgObject(TextTag,HashTable) -- create the string describing a circle in SVG

Synopsis

Description

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

i1 : myoptions = hashTable {"font-family"=>"verdana"}

o1 = HashTable{font-family => verdana}

o1 : HashTable
i2 : svgObject(textTag(point(20,30),"Hello world"),myoptions)

o2 = <text id="TextElement" x="20" y="30" stroke-width="0" fill-opacity="1"
     font-family="verdana" fill="black" stroke-opacity="0" stroke="black"
     font-size="12" >Hello world</text>