Class TruncatedLineText
Truncated text writer by line 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 TruncatedLineText
Methods
| Edit this page View SourceRenderText(string, int, int, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string text, int currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, int height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], int, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, int height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, Color textColor, int height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, int, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, Color textColor, int height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, Color textColor, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, Color, int, int, ref 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 height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], Color, Color, int, ref 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 currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, int height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, int, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, int height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static string RenderText(string[] lines, TextSettings settings, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, Color, int, int, ref 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 height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, Color, int, ref 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 currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 height, int left, int top, int currIdx, ref int increment)
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 | 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 height, int currIdx, ref int increment)
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 | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
Returns
Type | Description |
---|---|
string | A string that you can write to the console with WriteRaw(string, params object[]) |
RenderText(string[], TextSettings, Color, Color, int, ref 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 currIdx, ref int increment)
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
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, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, int, ref int, params object[])
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string text, int currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, Color, int, int, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, Color, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, Color, int, ref 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 currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, Color, Color, int, int, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, Color, Color, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, Color, Color, int, ref 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 currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, int, int, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, int, ref 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 currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, int, int, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, int, ref 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 currIdx, ref int increment, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, Color, int, int, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, Color, int, int, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string, TextSettings, Color, Color, int, ref 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 currIdx, ref int increment, 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
object[] | vars | Variables to format the text with |
WriteText(string[], int, int, int, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, int height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], int, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, int height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], Color, int, int, int, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, Color textColor, int height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], Color, int, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, Color textColor, int height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], Color, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, Color textColor, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], Color, Color, int, int, int, int, ref 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 height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], Color, Color, int, int, ref 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 height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], Color, Color, int, ref 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 currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
Color | textColor | Text foreground color |
Color | backgroundColor | Background color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], TextSettings, int, int, int, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, int height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], TextSettings, int, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, int height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], TextSettings, int, ref int)
Renders a truncated text block according to the width and the height
Declaration
public static void WriteText(string[] lines, TextSettings settings, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], TextSettings, Color, int, int, int, int, ref 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 height, int left, int top, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], TextSettings, Color, int, int, ref 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 height, int currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], TextSettings, Color, int, ref 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 currIdx, ref int increment)
Parameters
Type | Name | Description |
---|---|---|
string[] | lines | Lines of text to render |
TextSettings | settings | Text settings to use |
Color | textColor | Text foreground color |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], TextSettings, Color, Color, int, int, int, int, ref 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 height, int left, int top, int currIdx, ref int increment)
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 | 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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], TextSettings, Color, Color, int, int, ref 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 height, int currIdx, ref int increment)
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 | height | Truncated text height (think of it as a rectangle height) |
int | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |
WriteText(string[], TextSettings, Color, Color, int, ref 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 currIdx, ref int increment)
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 | currIdx | Current line index for pagination |
int | increment | [out] Lines to increment |