Click or drag to resize

Color Structure

Represents a color used by Origin objects. The ordering of fields is significant.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Altaxo.Serialization.OriginColor

Namespace: Altaxo.Serialization.Origin
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public struct Color

The Color type exposes the following members.

Constructors
 NameDescription
Public methodColorInitializes a new instance of the Color class
Public methodColor(ColorType, RegularColor)Initialize a color with a color type and a regular color index.
Top
Properties
 NameDescription
Public propertyCustom0Alias for Regular when interpreting as a custom color byte 0.
Public propertyCustom1Alias for Starting when interpreting as a custom color byte 1.
Public propertyCustom2Alias for Column when interpreting as a custom color byte 2.
Top
Methods
 NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Fields
 NameDescription
Public fieldColorTypeSpecifies how the color is defined.
Public fieldColumnThird color byte. Also used as custom[2].
Public fieldRegularPrimary color byte. Also used as custom[0].
Public fieldStartingSecond color byte. Also used as custom[1].
Top
See Also