C# Class AlbLib.Imaging.ImageBase

Inheritance: IRenderable
Afficher le fichier Open project: IllidanS4/AlbLib Class Usage Examples

Méthodes publiques

Méthode Description
Assemble ( byte arr, int width, int height ) : ].byte[
Disassemble ( byte arr ) : byte[]
ExtractLight ( ) : RawImage
ExtractLight ( RawImage &exported ) : bool
GetHeight ( ) : int
GetWidth ( ) : int
Render ( ImagePalette palette ) : Image

Draws the image to bitmap.

Render ( RenderOptions options ) : Image
Render ( int palette ) : Image

Draws the image to bitmap.

ToRawData ( ) : byte[]

Converts entire image to format-influenced byte array.

Method Details

Assemble() public static méthode

public static Assemble ( byte arr, int width, int height ) : ].byte[
arr byte
width int
height int
Résultat ].byte[

Disassemble() public static méthode

public static Disassemble ( byte arr ) : byte[]
arr byte
Résultat byte[]

ExtractLight() public méthode

public ExtractLight ( ) : RawImage
Résultat RawImage

ExtractLight() public méthode

public ExtractLight ( RawImage &exported ) : bool
exported RawImage
Résultat bool

GetHeight() public abstract méthode

public abstract GetHeight ( ) : int
Résultat int

GetWidth() public abstract méthode

public abstract GetWidth ( ) : int
Résultat int

Render() public méthode

Draws the image to bitmap.
public Render ( ImagePalette palette ) : Image
palette ImagePalette /// Palette. ///
Résultat Image

Render() public méthode

public Render ( RenderOptions options ) : Image
options RenderOptions
Résultat Image

Render() public méthode

Draws the image to bitmap.
public Render ( int palette ) : Image
palette int /// Palette ID. ///
Résultat Image

ToRawData() public abstract méthode

Converts entire image to format-influenced byte array.
public abstract ToRawData ( ) : byte[]
Résultat byte[]