Skip to content

REXPaintImage.Layer Class

A layer of a RexPaint image.

C#
public class REXPaintImage.Layer

Inheritance object

Creates a new layer with the specified width and height.

C#
public Layer(int width, int height)

width int
The width of the layer.

height int
The height of the layer.

The width of the layer.

C#
public int Width { get; }

The height of the layer.

C#
public int Height { get; }

Represents all cells of the layer.

C#
public ReadOnlyCollection<REXPaintImage.Cell> Cells { get; }

Gets a cell by coordinates.

C#
public REXPaintImage.Cell this[int x, int y] { get; set; }

Gets a cell by index.

C#
public REXPaintImage.Cell this[int index] { get; set; }