API Reference > OdCm Classes > OdCmColor Class > OdCmColor Operators > == Operator > OdCmColor::== Operator (OdCmColor&)
OdCmColor::== Operator (OdCmColor&)
Syntax
C++
bool operator ==(const OdCmColor& color) const;
Parameters 
Description 
const OdCmColor& color 
[in] Color as OdCmColor.  

true if the objects are equal, false - otherwise.

Compares two database color objects using their integer values together with their color names and returns true when their values are equal, or false when their values are not equal. 

 

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