API Reference > OdDg Classes > OdDgCmColor Class
OdDgCmColor Class
OdDgCmColor
Syntax
C++
class OdDgCmColor : public OdCmColorBase;

DgCmColor.h

This class implements Color objects, which represent the colors of OdDgElement objects, including RGB and ACI. 

Corresponding C++ library: TG_Db 

 

 
Name 
Description 
 
This is ~OdDgCmColor, a member of class OdDgCmColor. 
 
This is the overview for the OdDgCmColor constructor overload. 
 
Name 
Description 
 
blue 
This is blue, a member of class OdDgCmColor. 
 
This is bookName, a member of class OdDgCmColor. 
 
This is color, a member of class OdDgCmColor. 
 
This is colorIndex, a member of class OdDgCmColor. 
 
This is colorMethod, a member of class OdDgCmColor. 
 
This is colorName, a member of class OdDgCmColor. 
 
This is colorNameForDisplay, a member of class OdDgCmColor. 
 
Returns the OdDgCmEntityColor settings of this object. 
 
This is green, a member of class OdDgCmColor. 
 
This is isByACI, a member of class OdDgCmColor. 
 
This is isByBlock, a member of class OdDgCmColor. 
 
This is isByColor, a member of class OdDgCmColor. 
 
This is isByDgnIndex, a member of class OdDgCmColor. 
 
This is isByLayer, a member of class OdDgCmColor. 
 
This is isForeground, a member of class OdDgCmColor. 
 
Returns true if and only if the color method for this object is kNone or the color method is kByACI and the ACI is kACInone. 
 
red 
This is red, a member of class OdDgCmColor. 
 
This is setBlue, a member of class OdDgCmColor. 
 
This is setColor, a member of class OdDgCmColor. 
 
This is setColorIndex, a member of class OdDgCmColor. 
 
This is setColorMethod, a member of class OdDgCmColor. 
 
This is setGreen, a member of class OdDgCmColor. 
 
This is setNames, a member of class OdDgCmColor. 
 
This is setRed, a member of class OdDgCmColor. 
 
This is setRGB, a member of class OdDgCmColor. 
 
Name 
Description 
 
!= 
This is the overview for the != operator overload. 
 
= 
This is the overview for the = operator overload. 
 
== 
This is the overview for the == operator overload. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.