Class BorderColor
Border writer with color support
Inheritance
Namespace: Terminaux.Writer.FancyWriters
Assembly: Terminaux.dll
Syntax
public static class BorderColor
Methods
| Edit this page View SourceRenderBorder(int, int, int, int, Color)
Renders the border plainly
Declaration
public static string RenderBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color |
Returns
Type | Description |
---|---|
string |
RenderBorder(int, int, int, int, Color, Color)
Renders the border plainly
Declaration
public static string RenderBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, Color BackgroundColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
Returns
Type | Description |
---|---|
string |
RenderBorder(int, int, int, int, Color, Color, Color)
Renders the border plainly
Declaration
public static string RenderBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, Color BackgroundColor, Color TextColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
Color | TextColor | Border text color |
Returns
Type | Description |
---|---|
string |
RenderBorder(int, int, int, int, BorderSettings, Color)
Renders the border plainly
Declaration
public static string RenderBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
Returns
Type | Description |
---|---|
string |
RenderBorder(int, int, int, int, BorderSettings, Color, Color)
Renders the border plainly
Declaration
public static string RenderBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, Color BackgroundColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
Returns
Type | Description |
---|---|
string |
RenderBorder(int, int, int, int, BorderSettings, Color, Color, Color)
Renders the border plainly
Declaration
public static string RenderBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, Color BackgroundColor, Color TextColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
Color | TextColor | Border text color |
Returns
Type | Description |
---|---|
string |
RenderBorder(string, int, int, int, int, Color, params object[])
Renders the border plainly
Declaration
public static string RenderBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderBorder(string, int, int, int, int, Color, Color, params object[])
Renders the border plainly
Declaration
public static string RenderBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderBorder(string, int, int, int, int, Color, Color, Color, params object[])
Renders the border plainly
Declaration
public static string RenderBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, Color BackgroundColor, Color TextColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
Color | TextColor | Border text color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderBorder(string, int, int, int, int, BorderSettings, Color, params object[])
Renders the border plainly
Declaration
public static string RenderBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderBorder(string, int, int, int, int, BorderSettings, Color, Color, params object[])
Renders the border plainly
Declaration
public static string RenderBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderBorder(string, int, int, int, int, BorderSettings, Color, Color, Color, params object[])
Renders the border plainly
Declaration
public static string RenderBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, Color BackgroundColor, Color TextColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
Color | TextColor | Border text color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderBorderPlain(int, int, int, int)
Renders the border plainly
Declaration
public static string RenderBorderPlain(int Left, int Top, int InteriorWidth, int InteriorHeight)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Returns
Type | Description |
---|---|
string |
RenderBorderPlain(int, int, int, int, BorderSettings)
Renders the border plainly
Declaration
public static string RenderBorderPlain(int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Returns
Type | Description |
---|---|
string |
RenderBorderPlain(string, int, int, int, int, params object[])
Renders the border plainly
Declaration
public static string RenderBorderPlain(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
RenderBorderPlain(string, int, int, int, int, BorderSettings, params object[])
Renders the border plainly
Declaration
public static string RenderBorderPlain(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
string |
WriteBorder(int, int, int, int)
Writes the border plainly
Declaration
public static void WriteBorder(int Left, int Top, int InteriorWidth, int InteriorHeight)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
WriteBorder(int, int, int, int, Color)
Writes the border plainly
Declaration
public static void WriteBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color |
WriteBorder(int, int, int, int, Color, Color)
Writes the border plainly
Declaration
public static void WriteBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, Color BackgroundColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color from Terminaux's Color |
Color | BackgroundColor | Border background color from Terminaux's Color |
WriteBorder(int, int, int, int, Color, Color, Color)
Writes the border plainly
Declaration
public static void WriteBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, Color BackgroundColor, Color TextColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color from Terminaux's Color |
Color | BackgroundColor | Border background color from Terminaux's Color |
Color | TextColor | Border text color from Terminaux's Color |
WriteBorder(int, int, int, int, BorderSettings)
Writes the border plainly
Declaration
public static void WriteBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
WriteBorder(int, int, int, int, BorderSettings, Color)
Writes the border plainly
Declaration
public static void WriteBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
WriteBorder(int, int, int, int, BorderSettings, Color, Color)
Writes the border plainly
Declaration
public static void WriteBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, Color BackgroundColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
WriteBorder(int, int, int, int, BorderSettings, Color, Color, Color)
Writes the border plainly
Declaration
public static void WriteBorder(int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, Color BackgroundColor, Color TextColor)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
Color | TextColor | Border text color |
WriteBorder(string, int, int, int, int, params object[])
Writes the border plainly
Declaration
public static void WriteBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
object[] | vars | Variables to format the message before it's written. |
WriteBorder(string, int, int, int, int, Color, params object[])
Writes the border plainly
Declaration
public static void WriteBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color |
object[] | vars | Variables to format the message before it's written. |
WriteBorder(string, int, int, int, int, Color, Color, params object[])
Writes the border plainly
Declaration
public static void WriteBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color from Terminaux's Color |
Color | BackgroundColor | Border background color from Terminaux's Color |
object[] | vars | Variables to format the message before it's written. |
WriteBorder(string, int, int, int, int, Color, Color, Color, params object[])
Writes the border plainly
Declaration
public static void WriteBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, Color BorderColor, Color BackgroundColor, Color TextColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
Color | BorderColor | Border color from Terminaux's Color |
Color | BackgroundColor | Border background color from Terminaux's Color |
Color | TextColor | Border text color from Terminaux's Color |
object[] | vars | Variables to format the message before it's written. |
WriteBorder(string, int, int, int, int, BorderSettings, params object[])
Writes the border plainly
Declaration
public static void WriteBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
WriteBorder(string, int, int, int, int, BorderSettings, Color, params object[])
Writes the border plainly
Declaration
public static void WriteBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
object[] | vars | Variables to format the message before it's written. |
WriteBorder(string, int, int, int, int, BorderSettings, Color, Color, params object[])
Writes the border plainly
Declaration
public static void WriteBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
object[] | vars | Variables to format the message before it's written. |
WriteBorder(string, int, int, int, int, BorderSettings, Color, Color, Color, params object[])
Writes the border plainly
Declaration
public static void WriteBorder(string text, int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings, Color BorderColor, Color BackgroundColor, Color TextColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to be written. |
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |
Color | BorderColor | Border color |
Color | BackgroundColor | Border background color |
Color | TextColor | Border text color |
object[] | vars | Variables to format the message before it's written. |
WriteBorderPlain(int, int, int, int)
Writes the border plainly
Declaration
public static void WriteBorderPlain(int Left, int Top, int InteriorWidth, int InteriorHeight)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
WriteBorderPlain(int, int, int, int, BorderSettings)
Writes the border plainly
Declaration
public static void WriteBorderPlain(int Left, int Top, int InteriorWidth, int InteriorHeight, BorderSettings settings)
Parameters
Type | Name | Description |
---|---|---|
int | Left | Where to place the border horizontally? Please note that this value comes from the upper left corner, which is an exterior position. |
int | Top | Where to place the border vertically? Please note that this value comes from the upper left corner, which is an exterior position. |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
BorderSettings | settings | Border settings to use |