Class AnimatedCanvas
Animated canvas renderable
Inheritance
object
AnimatedCanvas
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class AnimatedCanvas : IStaticRenderable
Constructors
| Edit this page View SourceAnimatedCanvas()
Makes a new instance of the animated canvas renderer
Declaration
public AnimatedCanvas()
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 |
Frames
Pixel representations for each frame
Declaration
public CellOptions[][] Frames { get; set; }
Property Value
Type | Description |
---|---|
CellOptions[][] |
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 |
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 an animated canvas
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | Rendered text that will be used by the renderer |