Name
GetBrushPen -- get pen color from brush's palette (V9.0)
Synopsis
color = GetBrushPen(id, pen)
Function
This function gets the color of the pen specified by pen from the palette of the brush specified by id. The color will be returned as an RGB color.

Inputs
id
identifier of brush to use
pen
pen you want to get (starting from 0)
Results
color
color of the pen, specified as an RGB color
Example
color = GetBrushPen(1, 0)
The code gets the color of the first pen of brush 1.

Show TOC