Skip to content

REXPaintImage.Cell Struct

A RexPaint layer cell.

C#
public struct REXPaintImage.Cell

Creates a new REXPaint cell.

C#
public Cell(int character, REXPaintImage.Color foreground, REXPaintImage.Color background)

character int
The glyph.

foreground REXPaintImage.Color
The foreground color.

background REXPaintImage.Color
The background color.

The character for the cell.

C#
public int Character

The foreground color of the cell.

C#
public REXPaintImage.Color Foreground

The background color of the cell.

C#
public REXPaintImage.Color Background

Returns true when the current color is considered transparent.

C#
public bool IsTransparent()

bool
True when transparent.