>  Docs Center  >  IDL Reference  >  Object Graphics - Visualization  >  IDLgrPalette::SetRGB

IDLgrPalette::SetRGB

IDLgrPalette::SetRGB

Syntax | Arguments | Keywords | Version History

The IDLgrPalette::SetRGB procedure method sets the color values at a specified index in the palette to the specified Red, Green and Blue values.

Syntax


Obj->[IDLgrPalette::]SetRGB, Index, Red, Green, Blue

Arguments


Index

The index within the Palette object to be set. This value should be in the range of 0 ≤ Value < N_COLORS.

Red

The red value to set in the color palette.

Green

The green value to set in the color palette.

Blue

The blue value to set in the color palette.

Keywords


None

Version History


5.0

Introduced



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us