Method gcol0
| Improve this Doc View Sourcegcol0(Int32, out Int32, out Int32, out Int32)
plgcol0: Returns 8-bit RGB values for given color index from cmap0
Declaration
public void gcol0(Int32 icol0, out Int32 r, out Int32 g, out Int32 b)
Parameters
Type | Name | Description |
---|---|---|
Int32 | icol0 | Index of desired cmap0 color. |
Int32 | r | Returned value of the 8-bit red value. |
Int32 | g | Returned value of the 8-bit green value. |
Int32 | b | Returned value of the 8-bit blue value. |
Remarks
Returns 8-bit RGB values (0-255) for given color from cmap0 (see ). Values are negative if an invalid color id is given.