Class Hierarchy
AcCmColorBase AcCmColor
C++
class AcCmColorBase;
File
dbcolor.h
Description
The AcCmColorBase class is a virtual interface for classes representing colors in AutoCAD, either as RGB, AutoCAD Color Index, or as a named color with an RGB equivalent.
Because this is a pure virtual interface class, it has no constructor.
AcCmColorBase is not the only ObjectARX class available for implementing color. Most color clients should use an implementing class such as AcCmColor. Clients that need to avoid a dependency on ObjectDBX can use another implementing class such as AcCmDialogColor. Clients that are interested only in the RGB or Color Index information can use the more lightweight AcCmEntityColor class. Bear in mind, however, that most user interface and database APIs use either AcCmColorBase or one of its implementing classes.