C# Class SadConsole.Readers.REXPaint.Layer

A layer of a RexPaint image.
Afficher le fichier Open project: Thraka/SadConsole Class Usage Examples

Méthodes publiques

Méthode Description
Layer ( int width, int height ) : System

Creates a new layer with the specified width and height.

this ( int index ) : Cell

Gets a cell by index.

this ( int x, int y ) : Cell

Gets a cell by coordinates.

Private Methods

Méthode Description
CheckForBounds ( int x, int y ) : void
CheckForIndexBounds ( int index ) : void

Method Details

Layer() public méthode

Creates a new layer with the specified width and height.
public Layer ( int width, int height ) : System
width int The width of the layer.
height int The height of the layer.
Résultat System

this() public méthode

Gets a cell by index.
public this ( int index ) : Cell
index int The index of the cell.
Résultat Cell

this() public méthode

Gets a cell by coordinates.
public this ( int x, int y ) : Cell
x int The x (0-based) position of the cell.
y int The y (0-based) position of the cell.
Résultat Cell