Show / Hide Table of Contents

    Method scol0a

    | Improve this Doc View Source

    scol0a(Int32, Int32, Int32, Int32, Double)

    plscol0a: Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index

    Declaration
    public void scol0a(Int32 icol0, Int32 r, Int32 g, Int32 b, Double alpha)
    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.

    Double alpha

    Value of the alpha transparency in the range (0.0-1.0).

    Remarks

    Set 8-bit RGB value and PLFLT alpha transparency value 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.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX