C# 클래스 SadConsole.Readers.REXPaint.Layer

A layer of a RexPaint image.
파일 보기 프로젝트 열기: Thraka/SadConsole 1 사용 예제들

공개 메소드들

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

비공개 메소드들

메소드 설명
CheckForBounds ( int x, int y ) : void
CheckForIndexBounds ( int index ) : void

메소드 상세

Layer() 공개 메소드

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.
리턴 System

this() 공개 메소드

Gets a cell by index.
public this ( int index ) : Cell
index int The index of the cell.
리턴 Cell

this() 공개 메소드

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.
리턴 Cell