Close

Relief for ODA Team in Ukraine

Learn more
ODA PRC SDK
OdPrcRgbColor::set Method
Syntax
C++
OdResult set(double r, double g, double b);

Sets new values of the color components. 

 

Parameters
Description
r
[in] A new red component value to be set. 0-1 range.
g
[in] A new green component value to be set. 0-1 range.
b
[in] A new blue component value to be set. 0-1 range.

eOk if new component values were successfully set or an appropriate error code in the other case.

Copyright © 2002-2022. Open Design Alliance All rights reserved.