C# Класс AlbLib.Imaging.TransparencyTable

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

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

Метод Описание
GetResultingColorIndex ( byte overlaying, byte underlaying, TransparencyType type ) : byte

Gets resulting color when blending two others.

GetTransparencyTable ( int palette ) : TransparencyTable

Loads transparency table for palette.

TransparencyTable ( Stream input ) : System
TransparencyTable ( byte source ) : System
TransparencyTable ( int palette, Stream input ) : System
TransparencyTable ( int palette, byte source ) : System

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

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

Gets resulting color when blending two others.
public GetResultingColorIndex ( byte overlaying, byte underlaying, TransparencyType type ) : byte
overlaying byte /// Foreground color. ///
underlaying byte /// Background color. ///
type TransparencyType /// Type of blending. ///
Результат byte

GetTransparencyTable() публичный статический Метод

Loads transparency table for palette.
public static GetTransparencyTable ( int palette ) : TransparencyTable
palette int /// One-based palette index. ///
Результат TransparencyTable

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

public TransparencyTable ( Stream input ) : System
input Stream /// Stream containing the table. ///
Результат System

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

public TransparencyTable ( byte source ) : System
source byte /// Byte array containing the table. ///
Результат System

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

public TransparencyTable ( int palette, Stream input ) : System
palette int /// Palette which this table applies to. ///
input Stream /// Stream containing the table. ///
Результат System

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

public TransparencyTable ( int palette, byte source ) : System
palette int /// Palette which this table applies to. ///
source byte /// Byte array containing the table. ///
Результат System