Class Canvas
Canvas renderable
Inheritance
object
Canvas
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class Canvas : IStaticRenderable
Constructors
| Edit this page View SourceCanvas()
Makes a new instance of the canvas renderer
Declaration
public Canvas()
Properties
| Edit this page View SourceColor
Canvas color
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
DoubleWidth
Whether this canvas is double-width or single-width
Declaration
public bool DoubleWidth { get; set; }
Property Value
Type | Description |
---|---|
bool |
InteriorHeight
Interior height
Declaration
public int InteriorHeight { get; set; }
Property Value
Type | Description |
---|---|
int |
InteriorWidth
Interior width
Declaration
public int InteriorWidth { get; set; }
Property Value
Type | Description |
---|---|
int |
Left
Left position
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
int |
Pixels
Pixel representations
Declaration
public CellOptions[] Pixels { get; set; }
Property Value
Type | Description |
---|---|
CellOptions[] |
Top
Top position
Declaration
public int Top { get; set; }
Property Value
Type | Description |
---|---|
int |
Transparent
Whether this canvas is transparent
Declaration
public bool Transparent { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceRender()
Renders a canvas
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | Rendered text that will be used by the renderer |