The options that are not given in myoptions are set at the default values contained in defaultSVGOptions.
i1 : myoptions = hashTable {"stroke-width"=>"2"}
o1 = HashTable{stroke-width => 2}
o1 : HashTable
|
i2 : svgObject(segment(point(20,30),point(40,50)),myoptions) o2 = <line x1="20" y1="30" x2="40" y2="50" stroke="black" stroke-width="2" stroke-opacity="1" /> |