C# Класс SadConsole.Readers.REXPaint.Layer

A layer of a RexPaint image.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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