Search Results for

    Show / Hide Table of Contents

    Class BoundedText

    Bounded text renderable

    Inheritance
    object
    CyclicWriter
    GraphicalCyclicWriter
    BoundedText
    Inherited Members
    GraphicalCyclicWriter.Left
    GraphicalCyclicWriter.Top
    GraphicalCyclicWriter.Padding
    GraphicalCyclicWriter.Margins
    GraphicalCyclicWriter.SetMargins
    GraphicalCyclicWriter.HitboxStartPos
    GraphicalCyclicWriter.HitboxEndPos
    GraphicalCyclicWriter.GenerateHitbox(Func<PointerEventContext, object>)
    GraphicalCyclicWriter.GenerateHitbox(Action<PointerEventContext>)
    Namespace: Terminaux.Writer.CyclicWriters.Graphical
    Assembly: Terminaux.dll
    Syntax
    public class BoundedText : GraphicalCyclicWriter

    Constructors

    | Edit this page View Source

    BoundedText(Mark?, params object[])

    Makes a new instance of the bounded text renderer

    Declaration
    public BoundedText(Mark? text = null, params object[] vars)
    Parameters
    Type Name Description
    Mark text

    Text to use

    object[] vars

    Variables to format the text with

    Properties

    | Edit this page View Source

    BackgroundColor

    Background color of the text

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Column

    [Position-wise] Specifies a zero-based column index

    Declaration
    public int Column { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    ForegroundColor

    Foreground color of the text

    Declaration
    public Color ForegroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Height

    Right margin of the aligned figlet text

    Declaration
    public override int Height { get; set; }
    Property Value
    Type Description
    int
    Overrides
    GraphicalCyclicWriter.Height
    | Edit this page View Source

    IncrementRate

    [Line-wise] Specifies an incrementation rate

    Declaration
    public int IncrementRate { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Line

    [Line-wise] Specifies a zero-based line index

    Declaration
    public int Line { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    PositionWise

    Whether to form a bounded text position-wise or line-wise

    Declaration
    public bool PositionWise { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Row

    [Position-wise] Specifies a zero-based row index

    Declaration
    public int Row { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Settings

    Text settings to use

    Declaration
    public TextSettings Settings { get; set; }
    Property Value
    Type Description
    TextSettings
    | Edit this page View Source

    Text

    A text to render

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    UseColors

    Whether to use colors or not

    Declaration
    public bool UseColors { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Width

    Left margin of the aligned figlet text

    Declaration
    public override int Width { get; set; }
    Property Value
    Type Description
    int
    Overrides
    GraphicalCyclicWriter.Width

    Methods

    | Edit this page View Source

    Render()

    Renders a bounded text

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    Rendered text that will be used by the renderer

    Overrides
    CyclicWriter.Render()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX