Table of Contents

Constructor ColorStruct

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

ColorStruct(byte, byte, byte)

Initializes a new instance of the ColorStruct with the specified parameters.

public ColorStruct(byte red, byte green, byte blue)

Parameters

red byte

Red component of the color.

green byte

Green component of the color.

blue byte

Blue component of the color.

Remarks

Alpha component is assigned with 255.

ColorStruct(byte, byte, byte, byte)

Initializes a new instance of the ColorStruct with the specified parameters.

public ColorStruct(byte alpha, byte red, byte green, byte blue)

Parameters

alpha byte

Alpha component of the color.

red byte

Red component of the color.

green byte

Green component of the color.

blue byte

Blue component of the color.

ColorStruct()

Initializes a new instance of the ColorStruct struct.

public ColorStruct()

ColorStruct(SKColor)

Initializes a new instance of the ColorStruct struct.

public ColorStruct(SKColor color)

Parameters

color SKColor

Color value.

ColorStruct(uint)

Initializes a new instance of the ColorStruct struct.

public ColorStruct(uint value)

Parameters

value uint

Color value.