Show / Hide Table of Contents

    Method scmap1la

    | Improve this Doc View Source

    scmap1la(ColorSpace, Double[], Double[], Double[], Double[], Double[], Boolean[])

    plscmap1la: Set cmap1 colors and alpha transparency using a piece-wise linear relationship

    Declaration
    public void scmap1la(ColorSpace itype, Double[] intensity, Double[] coord1, Double[] coord2, Double[] coord3, Double[] alpha, Boolean[] alt_hue_path)
    Parameters
    Type Name Description
    ColorSpace itype

    true: RGB, false: HLS.

    Double[] intensity

    A vector containing the cmap1 intensity index (0.0-1.0) in ascending order for each control point.

    Double[] coord1

    A vector containing the first coordinate (H or R) for each control point.

    Double[] coord2

    A vector containing the second coordinate (L or G) for each control point.

    Double[] coord3

    A vector containing the third coordinate (S or B) for each control point.

    Double[] alpha

    A vector containing the alpha transparency value (0.0-1.0) for each control point.

    Boolean[] alt_hue_path

    A vector (with npts - 1 elements) containing the alternative interpolation method Boolean value for each control point interval. (alt_hue_path[i] refers to the interpolation interval between the i and i + 1 control points).

    Remarks

    This is a variant of plscmap1l that supports alpha channel transparency. It sets cmap1 colors using a piece-wise linear relationship between cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space (see ) with alpha transparency value (0.0-1.0). It may be called at any time.

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