[ overview : containers : components : style : config : functions ]
The style properties of components (e.g., color) are controlled through a common set of keyword options passed during object creation. For example,
c = Curve( x, y, color="red" )
changes the color of the curve to red. Keywords which are not relevant (for instance, setting fontface for a Line object) are ignored. After creation, style keywords can be set using the style member function:
c.style( linetype="dotted" )
"solid" "dotted" "dotdashed" "shortdashed" "longdashed" "dotdotdashed" "dotdotdotdashed"
"none" "filled circle" "dot" "filled square" "plus" "filled triangle" "asterisk" "filled diamond" "circle" "filled inverted triangle" "cross" "filled fancy square" "square" "filled fancy diamond" "triangle" "half filled circle" "diamond" "half filled square" "star" "half filled triangle" "inverted triangle" "half filled diamond" "starburst" "half filled inverted triangle" "fancy plus" "half filled fancy square" "fancy cross" "half filled fancy diamond" "fancy square" "octagon" "fancy diamond" "filled octagon"
[ home ] [ last modified Mar 31 2001 ]