Click or drag to resize

AciColor Class

Represents an ACI color (AutoCAD Color Index) that also supports true color.
Inheritance Hierarchy
SystemObject
  DXFReaderNETAciColor

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class AciColor : ICloneable, IEquatable<AciColor>

The AciColor type exposes the following members.

Constructors
  NameDescription
Public methodAciColor
Initializes a new instance of the AciColor class with black/white color index 7.
Public methodAciColor(Color)
Initializes a new instance of the AciColor class.
Public methodAciColor(Int16)
Initializes a new instance of the AciColor class.
Public methodAciColor(Byte, Byte, Byte)
Initializes a new instance of the AciColor class.
Public methodAciColor(Double, Double, Double)
Initializes a new instance of the AciColor class.
Public methodAciColor(Single, Single, Single)
Initializes a new instance of the AciColor class.
Top
Properties
  NameDescription
Public propertyB
Gets the blue component of the AciColor.
Public propertyStatic memberBlue
Defines a default blue color.
Public propertyStatic memberByBlock
Gets the ByBlock color.
Public propertyStatic memberByLayer
Gets the ByLayer color.
Public propertyStatic memberCyan
Defines a default cyan color.
Public propertyStatic memberDarkGray
Defines a default dark gray color.
Public propertyStatic memberDefault
Defines a default white/black color. Corresponds to the ForeColor of the control.
Public propertyG
Gets the green component of the AciColor.
Public propertyStatic memberGreen
Defines a default green color.
Public propertyIndex
Gets or sets the color index.
Public propertyStatic memberIndexRgb
A dictionary that contains the indexed colors, the key represents the color index and the value the RGB components of the color.
Public propertyIsByBlock
Defines if the color is defined by block.
Public propertyIsByLayer
Defines if the color is defined by layer.
Public propertyStatic memberLightGray
Defines a default light gray color.
Public propertyStatic memberMagenta
Defines a default magenta color.
Public propertyR
Gets the red component of the AciColor.
Public propertyStatic memberRed
Defines a default red color.
Public propertyUseTrueColor
Get or set if the AciColor should use true color values.
Public propertyStatic memberYellow
Defines a default yellow color.
Top
Methods
  NameDescription
Public methodClone
Creates a new color that is a copy of the current instance.
Public methodEquals
Check if the components of two colors are equal.
Public methodStatic memberFromCadIndex
Gets the color from an index.
Public methodFromColor
Converts a color to an AciColor.
Public methodStatic memberFromHsl
Converts HSL (hue, saturation, lightness) value to an AciColor.
Public methodStatic memberFromTrueColor
Gets the color from a 24-bit color value.
Public methodToColor
Converts the AciColor to a color.
Public methodStatic memberToHsl(AciColor)
Converts the RGB (red, green, blue) components of an AciColor to HSL (hue, saturation, lightness) values.
Public methodStatic memberToHsl(AciColor, Double, Double, Double)
Converts the RGB (red, green, blue) components of an AciColor to HSL (hue, saturation, lightness) values.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Overrides ObjectToString.)
Public methodStatic memberToTrueColor
Gets the entity 24-bit color value from an AciColor.
Top
See Also