Class ProgressBarColor
Progress bar writer with color support
Inheritance
Namespace: Terminaux.Writer.FancyWriters
Assembly: Terminaux.dll
Syntax
public static class ProgressBarColor
Methods
| Edit this page View SourceRenderProgress(double, int, int, int, Color, bool)
Renders the progress bar
Declaration
public static string RenderProgress(double Progress, int Left, int Top, int width, Color ProgressColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
Color | ProgressColor | The progress bar color |
bool | DrawBorder | Whether to draw the border or not |
Returns
Type | Description |
---|---|
string |
RenderProgress(double, int, int, int, Color, Color, bool)
Renders the progress bar
Declaration
public static string RenderProgress(double Progress, int Left, int Top, int width, Color ProgressColor, Color FrameColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
bool | DrawBorder | Whether to draw the border or not |
Returns
Type | Description |
---|---|
string |
RenderProgress(double, int, int, int, Color, Color, Color, bool)
Renders the progress bar
Declaration
public static string RenderProgress(double Progress, int Left, int Top, int width, Color ProgressColor, Color FrameColor, Color BackgroundColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
Color | BackgroundColor | The progress bar background color |
bool | DrawBorder | Whether to draw the border or not |
Returns
Type | Description |
---|---|
string |
RenderProgress(double, int, int, int, BorderSettings, Color, bool)
Renders the progress bar
Declaration
public static string RenderProgress(double Progress, int Left, int Top, int width, BorderSettings settings, Color ProgressColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
BorderSettings | settings | Border settings |
Color | ProgressColor | The progress bar color |
bool | DrawBorder | Whether to draw the border or not |
Returns
Type | Description |
---|---|
string |
RenderProgress(double, int, int, int, BorderSettings, Color, Color, bool)
Renders the progress bar
Declaration
public static string RenderProgress(double Progress, int Left, int Top, int width, BorderSettings settings, Color ProgressColor, Color FrameColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
BorderSettings | settings | Border settings |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
bool | DrawBorder | Whether to draw the border or not |
Returns
Type | Description |
---|---|
string |
RenderProgress(double, int, int, int, BorderSettings, Color, Color, Color, bool)
Renders the progress bar
Declaration
public static string RenderProgress(double Progress, int Left, int Top, int width, BorderSettings settings, Color ProgressColor, Color FrameColor, Color BackgroundColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
BorderSettings | settings | Border settings |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
Color | BackgroundColor | The progress bar background color |
bool | DrawBorder | Whether to draw the border or not |
Returns
Type | Description |
---|---|
string |
RenderProgressPlain(double, int, int, int, bool)
Renders the progress bar
Declaration
public static string RenderProgressPlain(double Progress, int Left, int Top, int width, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
bool | DrawBorder | Whether to draw the border or not |
Returns
Type | Description |
---|---|
string |
RenderProgressPlain(double, int, int, int, BorderSettings, bool)
Renders the progress bar
Declaration
public static string RenderProgressPlain(double Progress, int Left, int Top, int width, BorderSettings settings, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
BorderSettings | settings | Border settings |
bool | DrawBorder | Whether to draw the border or not |
Returns
Type | Description |
---|---|
string |
WriteProgress(double, int, int, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, int, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, int width, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, int, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, int width, Color ProgressColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
Color | ProgressColor | The progress bar color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, int, Color, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, int width, Color ProgressColor, Color FrameColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, int, Color, Color, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, int width, Color ProgressColor, Color FrameColor, Color BackgroundColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
Color | BackgroundColor | The progress bar background color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, int, BorderSettings, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, int width, BorderSettings settings, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
BorderSettings | settings | Border settings |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, int, BorderSettings, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, int width, BorderSettings settings, Color ProgressColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
BorderSettings | settings | Border settings |
Color | ProgressColor | The progress bar color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, int, BorderSettings, Color, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, int width, BorderSettings settings, Color ProgressColor, Color FrameColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
BorderSettings | settings | Border settings |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, int, BorderSettings, Color, Color, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, int width, BorderSettings settings, Color ProgressColor, Color FrameColor, Color BackgroundColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
BorderSettings | settings | Border settings |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
Color | BackgroundColor | The progress bar background color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, Color ProgressColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
Color | ProgressColor | The progress bar color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, Color, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, Color ProgressColor, Color FrameColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, Color, Color, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, Color ProgressColor, Color FrameColor, Color BackgroundColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
Color | BackgroundColor | The progress bar background color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, BorderSettings, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, BorderSettings settings, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
BorderSettings | settings | Border settings |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, BorderSettings, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, BorderSettings settings, Color ProgressColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
BorderSettings | settings | Border settings |
Color | ProgressColor | The progress bar color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, BorderSettings, Color, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, BorderSettings settings, Color ProgressColor, Color FrameColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
BorderSettings | settings | Border settings |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgress(double, int, int, BorderSettings, Color, Color, Color, bool)
Writes the progress bar
Declaration
public static void WriteProgress(double Progress, int Left, int Top, BorderSettings settings, Color ProgressColor, Color FrameColor, Color BackgroundColor, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
BorderSettings | settings | Border settings |
Color | ProgressColor | The progress bar color |
Color | FrameColor | The progress bar frame color |
Color | BackgroundColor | The progress bar background color |
bool | DrawBorder | Whether to draw the border or not |
WriteProgressPlain(double, int, int, bool)
Writes the progress bar
Declaration
public static void WriteProgressPlain(double Progress, int Left, int Top, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
bool | DrawBorder | Whether to draw the border or not |
WriteProgressPlain(double, int, int, int, bool)
Writes the progress bar
Declaration
public static void WriteProgressPlain(double Progress, int Left, int Top, int width, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
bool | DrawBorder | Whether to draw the border or not |
WriteProgressPlain(double, int, int, int, BorderSettings, bool)
Writes the progress bar
Declaration
public static void WriteProgressPlain(double Progress, int Left, int Top, int width, BorderSettings settings, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
int | width | Progress bar width |
BorderSettings | settings | Border settings |
bool | DrawBorder | Whether to draw the border or not |
WriteProgressPlain(double, int, int, BorderSettings, bool)
Writes the progress bar
Declaration
public static void WriteProgressPlain(double Progress, int Left, int Top, BorderSettings settings, bool DrawBorder = true)
Parameters
Type | Name | Description |
---|---|---|
double | Progress | The progress percentage |
int | Left | The progress position from the upper left corner |
int | Top | The progress position from the top |
BorderSettings | settings | Border settings |
bool | DrawBorder | Whether to draw the border or not |