Class Spinner
Spinner cyclic renderer
Inheritance
object
Spinner
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class Spinner : IStaticRenderable
Constructors
| Edit this page View SourceSpinner(string[])
Makes a new spinner instance
Declaration
public Spinner(string[] spinners)
Parameters
Type | Name | Description |
---|---|---|
string[] | spinners | A list of spinners |
Properties
| Edit this page View SourceBackgroundColor
Background color
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ForegroundColor
Foreground color
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
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 spinner
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | A string representation of the spinner |