C# 클래스 AlbLib.Imaging.TransparencyTable

파일 보기 프로젝트 열기: IllidanS4/AlbLib 1 사용 예제들

공개 메소드들

메소드 설명
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