Class AnimatedText
Animated text renderable
Inheritance
object
AnimatedText
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class AnimatedText : IStaticRenderable
Constructors
| Edit this page View SourceAnimatedText()
Makes a new instance of the animated text renderer
Declaration
public AnimatedText()
Properties
| Edit this page View SourceBackgroundColor
Background color of the text
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ForegroundColor
Foreground color of the text
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Left
Left position
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
int |
Rainbow
Whether to write text with rainbow effects or not
Declaration
public bool Rainbow { get; set; }
Property Value
Type | Description |
---|---|
bool |
RainbowBg
Whether to write text with rainbow effects in the background or in the foreground
Declaration
public bool RainbowBg { get; set; }
Property Value
Type | Description |
---|---|
bool |
Settings
Text settings to use
Declaration
public TextSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
TextSettings |
TextFrames
Text frames
Declaration
public string[] TextFrames { 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 |
Width
Width of the animated text
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceRender()
Renders an animated text
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | Rendered text that will be used by the renderer |