Class Box
Box renderable
Inheritance
object
Box
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class Box : IStaticRenderable
Constructors
| Edit this page View SourceBox()
Makes a new instance of the box renderer
Declaration
public Box()
Properties
| Edit this page View SourceColor
Box color
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
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 |
UseColors
Whether to use colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceRender()
Renders an aligned figlet text
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | Rendered text that will be used by the renderer |