IDLgrPalette Properties
IDLgrPalette objects have the following properties in addition to properties inherited from any superclasses. Properties with the word "Yes" in the "Get" column of the property table can be retrieved via IDLgrPalette::GetProperty. Properties with the word "Yes" in the "Init" column of the property table can be set via IDLgrPalette::Init. Properties with the word "Yes" in the "Set" column in the property table can be set via IDLgrPalette::SetProperty.
Note
For a discussion of the property description tables shown below, see About Object Property Descriptions.
Objects of this class have the following properties.
ALL
An anonymous structure that contains the values of all of the properties associated with the state of this object. State information about the object includes things like color, range, tick direction, etc., but not image, vertex, or connectivity data, or user values.
Note
The fields of this structure may change in subsequent releases of IDL.
BLUE_VALUES
A byte vector containing the blue values for the color palette. Setting this value is the same as specifying the aBlue argument to the IDLgrPalette::Init method.
BOTTOM_STRETCH
An integer value in the range of 0 ≤ Value ≤ 100 to indicate what percentage of the palette entries at the bottom of the palette should be filled with the value of the first palette entry. The entire range of red, green, and blue values will be compressed to fit within the range of palette entries beginning at this entry and ending at the entry specified by the value of the TOP_STRETCH property. The default is 0 (zero).
GAMMA
A floating-point value that indicates the gamma value to be applied to the color palette. This value should be in the range of 0.1 ≤ Gamma ≤ 10.0. The default is 1.0.
GREEN_VALUES
A byte vector containing the green values for the color palette. Setting this value is the same as specifying the aGreen argument to the IDLgrPalette::Init method.
NAME
A string giving the human-readable name of this object.
N_COLORS
An integer value that determines the number of elements in the color palette.
RED_VALUES
A byte vector containing the red values for the color palette. Setting this value is the same as specifying the aRed argument to the IDLgrPalette::Init method.
TOP_STRETCH
A floating-point value in the range of 0 ≤ Value ≤ 100 to indicate what percentage of the palette entries at the top of the palette should be filled with the value of the last palette entry. The entire range of red, green, and blue values will be compressed to fit within the range of palette entries beginning at the entry specified by the value of the BOTTOM_STRETCH property and ending at this entry. The default is 0 (zero).
UVALUE
A value of any type containing any information you wish.
Note
Object references or pointers contained in the UVALUE property are not automatically cleaned up when the IDLgrPalette object is destroyed.