Class Canvas
Canvas renderable
Inherited Members
Namespace: Terminaux.Writer.CyclicWriters.Graphical
Assembly: Terminaux.dll
Syntax
public class Canvas : GraphicalCyclicWriter
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 |
Pixels
Pixel representations
Declaration
public CellOptions[] Pixels { get; set; }
Property Value
Type | Description |
---|---|
CellOptions[] |
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 override string Render()
Returns
Type | Description |
---|---|
string | Rendered text that will be used by the renderer |