Class NamedColor
Wrapper for ByteColor that contains named of base, shade index and result color
Inheritance
System.Object
NamedColor
Assembly: Eco.Shared.dll
Syntax
[Serialized]
public sealed class NamedColor : ValueType
Constructors
NamedColor(String, ByteColor)
Declaration
public NamedColor(string name, ByteColor color)
Parameters
Type |
Name |
Description |
System.String |
name |
|
ByteColor |
color |
|
Fields
Blend
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Color
Declaration
Field Value
Name
Declaration
Field Value
Type |
Description |
System.String |
|
Methods
GetBlend()
Declaration
Returns
Type |
Description |
System.String |
|
GetDisplayName()
Returns variant name for display. Like "Teal #12" etc. For 0 index returns just name without shade index.
Declaration
public LocString GetDisplayName()
Returns
Extension Methods