Share

AcCmColor

Class Hierarchy

AcCmColorBase
    AcCmColor

C++

class AcCmColor : public AcCmColorBase;

File

AcCmColor.h

Description

This class is used to represent colors in AutoCAD, either as RGB, AutoCAD color index, or as a wrapper around a more abstract color definition as defined in AcCmComplexColor.

Most color clients should use this existing class. Other clients (such as AcDbEntity and AcGiSubEntityTraits) will use AcCmEntityColor directly to save memory.

Notes

The AcCmComplexColor wrapper code has been fully implemented, but never tested. Use AcCmComplexColor objects at your own risk. Test This class is somehow related to foo.

Links

AcCmColor Constructor, AcCmColor Data Members, AcCmColor Enumerations, AcCmColor Methods, AcCmColor Operators

See Also

AcDbEntity

Previous File

dbmain.h

Was this information helpful?