Table of Contents

Operator implicit operator

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

implicit operator Color(RGBValue)

Converts the specified RGBValue to a Color.

public static implicit operator Color(RGBValue rgb)

Parameters

rgb RGBValue

Returns

Color

implicit operator SKColor(Color)

Converts the specified Color to a SKColor.

public static implicit operator SKColor(Color color)

Parameters

color Color

Returns

SKColor

implicit operator Color(SKColor)

Converts the specified SKColor to a Color.

public static implicit operator Color(SKColor color)

Parameters

color SKColor

Returns

Color

implicit operator Color(Color)

Converts the specified Color to a Color.

public static implicit operator Color(Color color)

Parameters

color Color

Returns

Color

implicit operator Color(Color)

Converts the specified Color to a Color.

public static implicit operator Color(Color color)

Parameters

color Color

Returns

Color

implicit operator RGBValue(Color)

Converts the specified Color to a RGBValue.

public static implicit operator RGBValue(Color color)

Parameters

color Color

Returns

RGBValue

implicit operator Color((byte, byte, byte))

Implicit operator convertion from tuple with three byte values to Color. Tuple values define RGB of the color.

public static implicit operator Color((byte, byte, byte) d)

Parameters

d (byte, byte, byte)

New color value specified as tuple with three byte values.

Returns

Color

implicit operator Color((byte, byte, byte, byte))

Implicit operator convertion from tuple with four byte values to Color. Tuple values define ARGB of the color.

public static implicit operator Color((byte, byte, byte, byte) d)

Parameters

d (byte, byte, byte, byte)

New color value specified as tuple with four byte values.

Returns

Color