LvcColor
Struct

Assembly LiveChartsCore
Namespace LiveChartsCore.Drawing

Summary:
Defines a color.

Inheritance:
Object =>
ValueType =>
LvcColor

Constructors

// Initializes a new instance of the LvcColor struct.
Byte red, // The red component from 0 to 255.
Byte green, // The green component from 0 to 255.
Byte blue, // The blue component from 0 to 255.
Byte alpha// The alpha channel component from 0 to 255.
)
// Initializes a new instance of the LvcColor struct.
Byte red, // The red component from 0 to 255.
Byte green, // The green component from 0 to 255.
Byte blue// The blue component from 0 to 255.
)

Properties

Gets an empty color.
Type: LvcColor
R
Gets or sets the red component.
Type: Byte
G
Gets or sets the green component.
Type: Byte
B
Gets or sets the blue component.
Type: Byte
A
Gets or sets the alpha component.
Type: Byte

Methods

// Determines whether the instance is equals to the given instance.
Object obj// The instance to compare to.
)
// Gets the object hash code.
// Compares two LvcColor instances.
LvcColor left, //
LvcColor right//
)
// Compares two LvcColor instances.
LvcColor left, //
LvcColor right//
)
// Creates a new instance of the LvcColor class with the given components.
Byte red, // The red component from 0 to 255.
Byte green, // The green component from 0 to 255.
Byte blue// The blue component from 0 to 255.
)
// Creates a new instance of the LvcColor class with the given components.
Byte alpha, // The alpha channel component from 0 to 255.
Byte red, // The red component from 0 to 255.
Byte green, // The green component from 0 to 255.
Byte blue// The blue component from 0 to 255.
)
// Creates a new instance of the LvcColor class with the given components.
Byte alpha, // The alpha channel component from 0 to 255.
LvcColor color// The red color.
)