PEN COLOR specifies the color of the outline of a symbol.
You can set the default pen color that a symbol is drawn with by using the PEN COLOR keyword in a List statement. The PEN COLOR keyword has three parameters which together define the resulting solid color. Each color parameter can have a value of 0 to 255.
See also:
•FILL COLOR, which describes the color that the symbol is filled with
•FONT COLOR, which describes the color of the text associated with the symbol, such as its name.
Syntax
Value "X" depictions { PEN COLOR {X, Y, Z} }
where X, Y, and Z are a value from 0 through 255. The value X specifies how much red is contained in the color; the value Y specifies how much green is contained in the color; the value Z specifies how much blue is contained in the color.
For example, {255 0 0} is pure red; {0 255 0} is pure green, and {0 0 255} is pure blue. Various other combinations can be specified to obtain respective color shadings.
Example
To specify that a computer symbol of type ‘laptop’ is by default drawn with red lines on a diagram, and that a computer symbol stereotyped as a ‘host’ is by default drawn with green lines, specify these entries:
List "Computer Stereotypes" { Value "Laptop" depictions { diagram images\laptop.wmf menu images\laptop.bmp pen color {255, 0, 0} } Value "Host" depictions { diagram images\host.wmf menu images\host.bmp pen color {0, 255, 0} } }