Table of Contents

Operator implicit operator

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

implicit operator BrushOrColor((byte, byte, byte))

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

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

Parameters

d (byte, byte, byte)

New color value specified as tuple with three byte values.

Returns

BrushOrColor

implicit operator BrushOrColor((byte, byte, byte, byte))

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

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

Parameters

d (byte, byte, byte, byte)

New color value specified as tuple with four byte values.

Returns

BrushOrColor