Class TruncatedText
Truncated text writer by column and row number
Inheritance
Namespace: Terminaux.Writer.FancyWriters
Assembly: Terminaux.dll
Syntax
[Obsolete("This is considered a legacy method of writing this fancy text and will be removed in a future version of Terminaux. Please use its cyclic writer equivalent.")]
public static class TruncatedText
Methods
| Edit this page View SourceRenderText(string, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, Color, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, Color textColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, Color, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, Color textColor, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, Color, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, Color textColor, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, Color, Color, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, Color textColor, Color backgroundColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, Color, Color, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, Color textColor, Color backgroundColor, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, Color, Color, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, Color textColor, Color backgroundColor, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, TextSettings, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, TextSettings settings, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, TextSettings, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, TextSettings settings, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, TextSettings, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, TextSettings settings, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, TextSettings, Color, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, TextSettings settings, Color textColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, TextSettings, Color, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, TextSettings settings, Color textColor, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, TextSettings, Color, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, TextSettings settings, Color textColor, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, TextSettings, Color, Color, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, TextSettings settings, Color textColor, Color backgroundColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, TextSettings, Color, Color, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, TextSettings settings, Color textColor, Color backgroundColor, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string, TextSettings, Color, Color, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, TextSettings settings, Color textColor, Color backgroundColor, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, Color textColor, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, Color textColor, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, Color textColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, Color, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, Color textColor, Color backgroundColor, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, Color, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, Color textColor, Color backgroundColor, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, Color, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, Color textColor, Color backgroundColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, Color, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, Color textColor, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, Color, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, Color textColor, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, Color, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, Color textColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, Color, Color, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, Color textColor, Color backgroundColor, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, Color, Color, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, Color textColor, Color backgroundColor, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, Color, Color, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, Color textColor, Color backgroundColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
WriteText(string, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, Color, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, Color textColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, Color, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, Color textColor, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, Color, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, Color textColor, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, Color, Color, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, Color textColor, Color backgroundColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, Color, Color, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, Color textColor, Color backgroundColor, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, Color, Color, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, Color textColor, Color backgroundColor, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, TextSettings settings, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, TextSettings settings, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, TextSettings settings, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, TextSettings settings, Color textColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, TextSettings settings, Color textColor, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, TextSettings settings, Color textColor, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, Color, int, int, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, TextSettings settings, Color textColor, Color backgroundColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, Color, int, int, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, TextSettings settings, Color textColor, Color backgroundColor, int width, int height, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, Color, int, int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, TextSettings settings, Color textColor, Color backgroundColor, int currIdxRow, int currIdxColumn, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
object[] | vars | Variables to format the text with |
WriteText(string[], int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], Color, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, Color textColor, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], Color, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, Color textColor, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], Color, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, Color textColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], Color, Color, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, Color textColor, Color backgroundColor, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], Color, Color, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, Color textColor, Color backgroundColor, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], Color, Color, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, Color textColor, Color backgroundColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], TextSettings, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], TextSettings, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], TextSettings, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], TextSettings, Color, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, Color textColor, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], TextSettings, Color, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, Color textColor, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], TextSettings, Color, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, Color textColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], TextSettings, Color, Color, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, Color textColor, Color backgroundColor, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], TextSettings, Color, Color, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, Color textColor, Color backgroundColor, int width, int height, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |
WriteText(string[], TextSettings, Color, Color, int, int, int, int, int, int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, Color textColor, Color backgroundColor, int width, int height, int left, int top, int currIdxRow, int currIdxColumn)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | width | Truncated text width (think of it as a rectangle width) |
int | height | Truncated text height (think of it as a rectangle height) |
int | left | Left position of the truncated text "rectangle" |
int | top | Top position of the truncated text "rectangle" |
int | currIdxRow | Current row index for pagination |
int | currIdxColumn | Current height index for pagination |