Named |
[SerializableAttribute] [TypeConverterAttribute(typeof(NamedColorTypeConverter))] public struct NamedColor : IEquatable<NamedColor>, IEquatable<AxoColor>, IImmutable
The NamedColor type exposes the following members.
| Name | Description | |
|---|---|---|
| NamedColor(AxoColor) | Initializes a new instance of the NamedColor struct with an autogenerated name. | |
| NamedColor(AxoColor, String) | Initializes a new instance of the NamedColor struct with an explicit name. | |
| NamedColor(NamedColor, IColorSet) | Initializes a new instance of the NamedColor struct by copying an existing color and assigning a parent set. | |
| NamedColor(AxoColor, String, IColorSet) | Initializes a new instance of the NamedColor struct with an explicit name and parent color set. |
| Name | Description | |
|---|---|---|
| Color | Gets the underlying color value. | |
| Name | Gets the color name. | |
| ParentColorSet | Gets the parent color set, if any. |
| Name | Description | |
|---|---|---|
| CoerceParentColorSetToNullIfNotMember | Tests if this color is still a member of the parent color set, and sets the parent property to null if it is no longer a member of the parent color set. | |
| Equals(AxoColor) | Indicates whether the current object is equal to another object of the same type. | |
| Equals(NamedColor) | Indicates whether the current object is equal to another object of the same type. | |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object)) | |
| EqualsInNameAndColor | Determines whether another named color has the same color value and name. | |
| FromArgb(Byte, Byte, Byte, Byte) | Creates a named color from ARGB components. | |
| FromArgb(Byte, Byte, Byte, Byte, String) | Creates a named color from ARGB components and an explicit name. | |
| FromScRgb(Single, Single, Single, Single) | Creates a named color from ScRGB components. | |
| FromScRgb(Single, Single, Single, Single, String) | Creates a named color from ScRGB components and an explicit name. | |
| GetColorName | Gets a display name for the specified color value. | |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| NewWithAlphaValue | Returns a copy of this color with a different alpha value. | |
| NewWithOpacityInPercent | Returns a copy of this color with a different opacity in percent. | |
| ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString) |
| Name | Description | |
|---|---|---|
| Equality(NamedColor, NamedColor) | Determines whether two NamedColor values are equal. | |
| (NamedColor to AxoColor) | Converts a NamedColor to its underlying AxoColor value. | |
| (NamedColor to Color) | Converts a NamedColor to Color. | |
| Inequality(NamedColor, NamedColor) | Determines whether two NamedColor values are not equal. |
| Name | Description | |
|---|---|---|
| GetNextPlotColor |
Gets a color that is located at the next index after the specified color.
(Defined by ColorSetExtensions) | |
| GetNextPlotColor |
Gets a color that is the specified number of steps away from the given color.
(Defined by ColorSetExtensions) | |
| GetNextPlotColor |
Gets a color that is the specified number of steps away from the given color.
(Defined by ColorSetExtensions) |