setPenColor
Help Contents
Graphics
Pen and Background Control
setPenColor
setPenColor colornumber
setPC colornumber
setPenColor rgblist
setPC rgblist
setPenColor colorname
setPC colorname
sets the pen color to the given number, which must be a integer, or a rgblist (consisting of three items, red, green, and blue, which must be in the range 0..1), or must be one of the color names in the wxWidgets color database. Color 0 is always black; color 7 is always white. Other color numbers may or may not be consistent between machines, but colors by name should be platform independent - as is wxWidgets.
Examples:
Examples:
References:
setPC(3), forward(2), BitPasteTo, ChoiceBoxSetBackgroundColor, ChoiceBoxSetColor, ComboBoxSetBackgroundColor, ComboBoxSetColor, Cylinder, FrameSetBackgroundColor, FrameSetColor, GaugeSetBackgroundColor, GaugeSetColor, Graphic, ListBoxSetBackgroundColor, ListBoxSetColor, ListControlSetBackgroundColor, ListControlSetColor, StaticTextSetBackgroundColor, StaticTextSetColor, TextControlSetBackgroundColor, TextControlSetColor, enableShadows, loadpalette, reset, setFogColor, setShadowColor