C# Класс AForge.Imaging.RGB

RGB components.

The class encapsulates RGB color components.

PixelFormat.Format24bppRgb actually means BGR format.

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Alpha byte
Blue byte
Green byte
Red byte

Открытые методы

Метод Описание
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.

Описание методов

RGB() публичный Метод

Initializes a new instance of the RGB class.
public RGB ( ) : System
Результат System

RGB() публичный Метод

Initializes a new instance of the RGB class.
public RGB ( System color ) : System
color System Initialize from specified color.
Результат System

RGB() публичный Метод

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.
Результат System

RGB() публичный Метод

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.
Результат System

Описание свойств

Alpha публичное свойство

Alpha component.
public byte Alpha
Результат byte

Blue публичное свойство

Blue component.
public byte Blue
Результат byte

Green публичное свойство

Green component.
public byte Green
Результат byte

Red публичное свойство

Red component.
public byte Red
Результат byte