Struct REXPaintImage.Cell
A RexPaint layer cell.
Inherited Members
Namespace: SadConsole.Readers
Assembly: SadConsole.dll
Syntax
public struct REXPaintImage.Cell
Constructors
Cell(int, Color, Color)
Creates a new REXPaint cell.
Declaration
public Cell(int character, REXPaintImage.Color foreground, REXPaintImage.Color background)
Parameters
Type | Name | Description |
---|---|---|
int | character | The glyph. |
REXPaintImage.Color | foreground | The foreground color. |
REXPaintImage.Color | background | The background color. |
Fields
Background
The background color of the cell.
Declaration
public REXPaintImage.Color Background
Field Value
Type | Description |
---|---|
REXPaintImage.Color |
Character
The character for the cell.
Declaration
public int Character
Field Value
Type | Description |
---|---|
int |
Foreground
The foreground color of the cell.
Declaration
public REXPaintImage.Color Foreground
Field Value
Type | Description |
---|---|
REXPaintImage.Color |
Methods
IsTransparent()
Returns true when the current color is considered transparent.
Declaration
public bool IsTransparent()
Returns
Type | Description |
---|---|
bool | True when transparent. |