API Reference > Extension Classes > ExServices Classes > OdExGiRasterImage Class > OdExGiRasterImage Methods > OdExGiRasterImage::setPalColorAt Method
OdExGiRasterImage::setPalColorAt Method
Syntax
C++
void setPalColorAt(OdUInt32 paletteIndex, OdUInt8 blue, OdUInt8 green, OdUInt8 red, OdUInt8 alpha = 0);
Parameters 
Description 
OdUInt32 paletteIndex 
[in] Color number.  
OdUInt8 blue 
[in] Blue component.  
OdUInt8 green 
[in] Green component.  
OdUInt8 red 
[in] Red component.  
OdUInt8 alpha = 0 
[in] Alpha component. 

Sets the specified color in the palette of this RasterImage object. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.