Table of Contents

Constructor BrushOrColor

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

BrushOrColor()

Initializes a new instance of the BrushOrColor class.

public BrushOrColor()

BrushOrColor(byte, byte, byte, byte)

Initializes a new instance of the BrushOrColor class.

public BrushOrColor(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.

BrushOrColor(byte, byte, byte)

Initializes a new instance of the BrushOrColor class.

public BrushOrColor(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.

BrushOrColor(Brush)

Initializes a new instance of the BrushOrColor class.

public BrushOrColor(Brush brush)

Parameters

brush Brush

Brush value.

BrushOrColor(Color)

Initializes a new instance of the BrushOrColor class.

public BrushOrColor(Color color)

Parameters

color Color

Color value.