API Reference > OdCm Classes > OdCmColorBase Class > OdCmColorBase Methods > OdCmColorBase::setRed Method
OdCmColorBase::setRed Method
Syntax
C++
virtual void setRed(OdUInt8 red) = 0;
Parameters 
Description 
OdUInt8 red 
[in] Red component as an integer value in the range from 0 to 255. 

Sets the red color component for the database color object. 

 

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