C# Class AlbLib.Imaging.AnimatedHeaderedImage

Inheritance: ImageBase, IAnimatedRenderable
Afficher le fichier Open project: IllidanS4/AlbLib

Méthodes publiques

Méthode Description
AnimatedHeaderedImage ( Stream stream ) : System

Initializes new instance.

AnimatedHeaderedImage ( byte rawdata ) : System

Initializes new instance.

FromRawData ( byte data ) : AnimatedHeaderedImage

Creates new instance.

FromStream ( Stream stream ) : AnimatedHeaderedImage

Creates new instance.

GetHeight ( ) : int
GetWidth ( ) : int
Render ( RenderOptions options ) : Image

Draws the image to bitmap.

Render ( byte index, RenderOptions options ) : Image

Draws the animated image to bitmap.

ToRawData ( ) : byte[]

Converts entire image to format-influenced byte array.

Method Details

AnimatedHeaderedImage() public méthode

Initializes new instance.
public AnimatedHeaderedImage ( Stream stream ) : System
stream Stream
Résultat System

AnimatedHeaderedImage() public méthode

Initializes new instance.
public AnimatedHeaderedImage ( byte rawdata ) : System
rawdata byte
Résultat System

FromRawData() public static méthode

Creates new instance.
public static FromRawData ( byte data ) : AnimatedHeaderedImage
data byte
Résultat AnimatedHeaderedImage

FromStream() public static méthode

Creates new instance.
public static FromStream ( Stream stream ) : AnimatedHeaderedImage
stream Stream
Résultat AnimatedHeaderedImage

GetHeight() public méthode

public GetHeight ( ) : int
Résultat int

GetWidth() public méthode

public GetWidth ( ) : int
Résultat int

Render() public méthode

Draws the image to bitmap.
public Render ( RenderOptions options ) : Image
options RenderOptions /// More rendering options. ///
Résultat Image

Render() public méthode

Draws the animated image to bitmap.
public Render ( byte index, RenderOptions options ) : Image
index byte /// Zero-based frame index. ///
options RenderOptions /// More rendering options. ///
Résultat Image

ToRawData() public méthode

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