API Reference > Classes > PRC Graphical Classes > OdPrcRgbColor Class > OdPrcRgbColor Methods > OdPrcRgbColor::setG Method
OdPrcRgbColor::setG Method
Syntax
C++
OdResult setG(double g);
Parameters 
Description 
double g 
[in] A new green component value to be set.
 

Returns eOk if a new green component value was successfully set or an appropriate error code in the other case.

Sets a new green component value. 0-1 range. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.