Next: set_style_ellipse, Previous: set_style_circle, Up: style [Contents][Index]
Rectangles defined with the object command can have individual styles. However, if the object is not assigned a private style then it inherits a default that is taken from the rectangle command.
Syntax:
set style rectangle {front|back} {lw|linewidth <lw>} {fillcolor <colorspec>} {fs <fillstyle>}
See colorspec and ‘fillstyle‘. ‘fillcolor‘ may be abbreviated as ‘fc‘.
Examples:
set style rectangle back fc rgb "white" fs solid 1.0 border lt -1 set style rectangle fc linsestyle 3 fs pattern 2 noborder
The default values correspond to solid fill with the background color and a black border.