Method gcol0a
gcol0a(Int32, out Int32, out Int32, out Int32, out Double)
plgcol0a: Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0
Declaration
public static void gcol0a(Int32 icol0, out Int32 r, out Int32 g, out Int32 b, out Double alpha)
Parameters
Type | Name | Description |
---|---|---|
Int32 | icol0 | Index of desired cmap0 color. |
Int32 | r | Returned value of the red intensity in the range from 0 to 255. |
Int32 | g | Returned value of the green intensity in the range from 0 to 255. |
Int32 | b | Returned value of the blue intensity in the range from 0 to 255. |
Double | alpha | Returned value of the alpha transparency in the range from (0.0-1.0). |
Remarks
Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value (0.0-1.0) for given color from cmap0 (see ). Values are negative if an invalid color id is given.