Table of Contents

Struct Color

Color structure

Namespace: HP.LFT.Common.Linux.Drawing
Assembly: HP.LFT.Common.Standard.dll
Syntax
public struct Color

Constructors

Color(SKColor)

Declaration
public Color(SKColor skColor)
Parameters
Type Name Description
SKColor skColor

Color(byte, byte, byte, byte)

Declaration
public Color(byte red, byte green, byte blue, byte alpha = 255)
Parameters
Type Name Description
byte red
byte green
byte blue
byte alpha

Properties

Black

Declaration
public static Color Black { get; }
Property Value
Type Description
Color

Blue

Declaration
public static Color Blue { get; }
Property Value
Type Description
Color

Green

Declaration
public static Color Green { get; }
Property Value
Type Description
Color

Red

Declaration
public static Color Red { get; }
Property Value
Type Description
Color

White

Declaration
public static Color White { get; }
Property Value
Type Description
Color

Yellow

Declaration
public static Color Yellow { get; }
Property Value
Type Description
Color

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
ValueType.ToString()

Operators

implicit operator SKColor(Color)

Declaration
public static implicit operator SKColor(Color color)
Parameters
Type Name Description
Color color
Returns
Type Description
SKColor

implicit operator Color(SKColor)

Declaration
public static implicit operator Color(SKColor skColor)
Parameters
Type Name Description
SKColor skColor
Returns
Type Description
Color