This repository was archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 438
7c3be0f7 3023 5d01 0e7d 4126c235bc99
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Represents an ACI color (AutoCAD Color Index) that also supports true color.
Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public class AciColor : ICloneable, IEquatable<AciColor>VB
Public Class AciColor
Implements ICloneable, IEquatable(Of AciColor)C++
public ref class AciColor : ICloneable,
IEquatable<AciColor^>F#
type AciColor =
class
interface ICloneable
interface IEquatable<AciColor>
end| Inheritance | Object → AciColor |
| Implements | ICloneable, IEquatable(AciColor) |
| AciColor() | Initializes a new instance of the AciColor class with black/white color index 7. |
| AciColor(Byte[]) | Initializes a new instance of the AciColor class from an array of three values. |
| AciColor(Color) | Initializes a new instance of the AciColor class. |
| AciColor(Double[]) | Initializes a new instance of the AciColor class from an array of three values. |
| AciColor(Int16) | Initializes a new instance of the AciColor class. |
| AciColor(Byte, Byte, Byte) | Initializes a new instance of the AciColor class. |
| AciColor(Double, Double, Double) | Initializes a new instance of the AciColor class. |
| B | Gets the blue component of the AciColor. |
| Blue | Defines a default blue color. |
| ByBlock | Gets the ByBlock color. |
| ByLayer | Gets the ByLayer color. |
| Cyan | Defines a default cyan color. |
| DarkGray | Defines a default dark gray color. |
| Default | Defines a default white/black color. |
| G | Gets the green component of the AciColor. |
| Green | Defines a default green color. |
| Index | Gets or sets the color index. |
| IndexRgb | A list that contains the indexed colors, the key represents the color index and the value the RGB components of the color. |
| IsByBlock | Defines if the color is defined by block. |
| IsByLayer | Defines if the color is defined by layer. |
| LightGray | Defines a default light gray color. |
| Magenta | Defines a default magenta color. |
| R | Gets the red component of the AciColor. |
| Red | Defines a default red color. |
| UseTrueColor | Get or set if the AciColor should use true color values. |
| Yellow | Defines a default yellow color. |
| Clone | Creates a new color that is a copy of the current instance. |
| Equals(AciColor) | Check if the components of two colors are equal. |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| FromCadIndex | Gets the color from an index. |
| FromColor | Converts a color to an AciColor. |
| FromHsl(Vector3) | Converts HSL (hue, saturation, lightness) value to an AciColor. |
| FromHsl(Double, Double, Double) | Converts HSL (hue, saturation, lightness) value to an AciColor. |
| FromTrueColor | Gets the color from a 24-bit color value. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| RgbToAci | Obtains the approximate color index from the RGB components. |
| ToColor | Converts the AciColor to a color. |
| ToHsl(AciColor) | Converts the RGB (red, green, blue) components of an AciColor to HSL (hue, saturation, lightness) values. |
| ToHsl(AciColor, Vector3) | Converts the RGB (red, green, blue) components of an AciColor to HSL (hue, saturation, lightness) values. |
| ToHsl(AciColor, Double, Double, Double) | Converts the RGB (red, green, blue) components of an AciColor to HSL (hue, saturation, lightness) values. |
| ToString | Converts the value of this instance to its equivalent string representation. (Overrides Object.ToString()) |
| ToTrueColor | Gets the 32-bit color value from an AciColor. |