C# Class AlbLib.Imaging.GraphicPlane

Inheritance: IRenderable
显示文件 Open project: IllidanS4/AlbLib Class Usage Examples

Public Methods

Method Description
Bake ( ) : void

Inserts all objects into background.

GraphicPlane ( ) : System

Creates empty graphic plane.

GraphicPlane ( int width, int height ) : System

Creates graphic plane with predefined background.

Render ( ) : Image

Draws plane to bitmap.

Render ( RenderOptions options ) : Image

Draws plane to bitmap using other palette.

Render ( byte palette ) : Image

Draws plane to bitmap using other palette.

Render ( byte palette, RenderOptions options ) : Image

Draws plane to bitmap using palette and render options.

Private Methods

Method Description
ApplyBake ( byte tobake ) : void
GetBaked ( ) : byte[]

Method Details

Bake() public method

Inserts all objects into background.
public Bake ( ) : void
return void

GraphicPlane() public method

Creates empty graphic plane.
public GraphicPlane ( ) : System
return System

GraphicPlane() public method

Creates graphic plane with predefined background.
public GraphicPlane ( int width, int height ) : System
width int /// Width of graphic plane. ///
height int /// Height of graphic plane. ///
return System

Render() public method

Draws plane to bitmap.
public Render ( ) : Image
return Image

Render() public method

Draws plane to bitmap using other palette.
public Render ( RenderOptions options ) : Image
options RenderOptions
return Image

Render() public method

Draws plane to bitmap using other palette.
public Render ( byte palette ) : Image
palette byte
return Image

Render() public method

Draws plane to bitmap using palette and render options.
public Render ( byte palette, RenderOptions options ) : Image
palette byte
options RenderOptions
return Image