Class Spinner
Spinner cyclic renderer
Inheritance
Namespace
Syntax
public class Spinner : SimpleCyclicWriter
Constructors
Spinner(string[])
Makes a new spinner instance
Declaration
public Spinner(string[] spinners)
Parameters
| Name | Type | Description |
|---|---|---|
| spinners | string[] | A list of spinners |
Properties
BackgroundColor
Background color
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
ForegroundColor
Foreground color
Property Value
Color
Declaration
public Color ForegroundColor { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
Methods
Render()
Renders a spinner
Returns
string
A string representation of the spinner
Declaration
public override string Render()