Class Border
Aligned text renderable
Inheritance
object
Border
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class Border : IStaticRenderable
Constructors
| Edit this page View SourceBorder()
Makes a new instance of the border renderer
Declaration
public Border()
Properties
| Edit this page View SourceBackgroundColor
Background color
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Color
Border color
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
DropShadow
Whether to enable drop shadow or not
Declaration
public bool DropShadow { 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 |
Settings
Border settings to use
Declaration
public BorderSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
BorderSettings |
ShadowColor
Drop shadow color
Declaration
public Color ShadowColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Text
Text to show
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
TextColor
Text color
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
TextSettings
Text settings to use
Declaration
public TextSettings TextSettings { get; set; }
Property Value
Type | Description |
---|---|
TextSettings |
Title
Title
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |