Name
SetPalettePen -- change palette pen (V9.0)
Synopsis
SetPalettePen(id, pen, color)
Function
This function sets the color of the pen specified by
pen
to the color specified by
color
in the palette specified by
id
.
Inputs
id
identifier of palette
pen
pen you want to modify (starting from 0)
color
new color for the pen, must be specified as an
RGB color
Example
SetPalettePen(1, 0, #RED)
The code above sets pen 0 to red in palette 1.
Show TOC