Method scol0
| Improve this Doc View Sourcescol0(Int32, Int32, Int32, Int32)
plscol0: Set 8-bit RGB values for given cmap0 color index
Declaration
public void scol0(Int32 icol0, Int32 r, Int32 g, Int32 b)
Parameters
Type | Name | Description |
---|---|---|
Int32 | icol0 | Color index. Must be less than the maximum number of colors (which is set by default, by plscmap0n, or even by plscmap0). |
Int32 | r | Unsigned 8-bit integer (0-255) representing the degree of red in the color. |
Int32 | g | Unsigned 8-bit integer (0-255) representing the degree of green in the color. |
Int32 | b | Unsigned 8-bit integer (0-255) representing the degree of blue in the color. |
Remarks
Set 8-bit RGB values for given cmap0 (see ) index. Overwrites the previous color value for the given index and, thus, does not result in any additional allocation of space for colors.