Class Spinner
Spinner cyclic renderer
Namespace: Terminaux.Writer.CyclicWriters.Simple
Assembly: Terminaux.dll
Syntax
public class Spinner : SimpleCyclicWriter
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 override string Render()
Returns
| Type | Description |
|---|---|
| string | A string representation of the spinner |