Class BoxFrame
Box frame renderable
Inherited Members
Namespace: Terminaux.Writer.CyclicWriters.Graphical
Assembly: Terminaux.dll
Syntax
public class BoxFrame : GraphicalCyclicWriter
Constructors
| Edit this page View SourceBoxFrame(Mark?, params object[])
Makes a new instance of the box frame renderer
Declaration
public BoxFrame(Mark? text = null, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
Mark | text | Text to use |
object[] | vars | Variables to format the text with |
Properties
| Edit this page View SourceBackgroundColor
Background color
Declaration
public Color BackgroundColor { 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 |
FrameColor
Box frame color
Declaration
public Color FrameColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Rulers
Rulers that divide the box frame
Declaration
public RulerInfo[] Rulers { get; set; }
Property Value
Type | Description |
---|---|
RulerInfo[] |
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
Top position
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
TitleColor
Box frame title color
Declaration
public Color TitleColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
TitleSettings
Title settings to use
Declaration
public TextSettings TitleSettings { get; set; }
Property Value
Type | Description |
---|---|
TextSettings |
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 a box frame
Declaration
public override string Render()
Returns
Type | Description |
---|---|
string | Rendered box frame that will be used by the renderer |