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

formatGraphicPrimitives(BasicList,HashTable) -- create a formatted graphic primitive object

Synopsis

Description

i1 : myPoint1=point(20.,30.)

o1 = Point2D{20, 30}

o1 : Point2D
i2 : myPoint2=point(30.,40.)

o2 = Point2D{30, 40}

o2 : Point2D
i3 : myOptions = hashTable {"fill"=>"black"}

o3 = HashTable{fill => black}

o3 : HashTable
i4 : formatGraphicPrimitives({myPoint1,myPoint2},myOptions)

o4 = FormattedGraphicPrimitives{{Point2D{20, 30}, Point2D{30, 40}}, HashTable{fill => black}}

o4 : FormattedGraphicPrimitives