Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCmColorBase::setRGB Method
Syntax
C++
virtual void setRGB(OdUInt8 red, OdUInt8 green, OdUInt8 blue) = 0;

Sets the red, green, and blue color components and the color method to byColor for the database color object. 

 

Parameters
Description
red
[in] Red component as an integer value in the range from 0 to 255.
green
[in] Green component as an integer value in the range from 0 to 255.
blue
[in] Blue component as an integer value in the range from 0 to 255.
Copyright © 2002-2022. Open Design Alliance All rights reserved.