C# Class AForge.Imaging.RGB

RGB components.

The class encapsulates RGB color components.

PixelFormat.Format24bppRgb actually means BGR format.

Datei anzeigen Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Public Properties

Property Type Description
Alpha byte
Blue byte
Green byte
Red byte

Public Methods

Method Description
RGB ( ) : System

Initializes a new instance of the RGB class.

RGB ( System color ) : System

Initializes a new instance of the RGB class.

RGB ( byte red, byte green, byte blue ) : System

Initializes a new instance of the RGB class.

RGB ( byte red, byte green, byte blue, byte alpha ) : System

Initializes a new instance of the RGB class.

Method Details

RGB() public method

Initializes a new instance of the RGB class.
public RGB ( ) : System
return System

RGB() public method

Initializes a new instance of the RGB class.
public RGB ( System color ) : System
color System Initialize from specified color.
return System

RGB() public method

Initializes a new instance of the RGB class.
public RGB ( byte red, byte green, byte blue ) : System
red byte Red component.
green byte Green component.
blue byte Blue component.
return System

RGB() public method

Initializes a new instance of the RGB class.
public RGB ( byte red, byte green, byte blue, byte alpha ) : System
red byte Red component.
green byte Green component.
blue byte Blue component.
alpha byte Alpha component.
return System

Property Details

Alpha public_oe property

Alpha component.
public byte Alpha
return byte

Blue public_oe property

Blue component.
public byte Blue
return byte

Green public_oe property

Green component.
public byte Green
return byte

Red public_oe property

Red component.
public byte Red
return byte