Share

AcCm Classes

Classes

Class Description
AcCmColor 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.
AcCmColorBase 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.... more
AcCmComplexColorAcCmComplexColor is a class intended to support a wide variety of color spaces, light sources, and so on.The default implementation is to store and retrieve AutoCAD Color Indices. It is logically the same as AcCmColor, but is less efficient. It also maintains a reference count, although the reference count value is never checked or used.Developers are advised to avoid using this class, except at their own risk. Use of the AcCmColor class to store color index values is preferred.
AcCmEntityColor Objects of this class store a color method and a color, which, depending on the color method, may be a Red/Green/Blue (RGB) value, an AutoCAD Color Index (ACI) value, a layer index, or a pen index. The color is stored in the AcCmEntityColor object's mRGBM member, defined as:
AcCmHSB use this class for converting, setting, and retrieving an HSB theme color.
AcCmTransparency The AcCmTransparency class provides transparency information about an AcGiDrawable object.

Namespaces

Namespace Description
AcCm This is a scoping container for color enumerated types.

Was this information helpful?