Search Results for

    Class AlignedText

    Aligned text renderable

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


    Constructors

    AlignedText(Mark?, params object[])

    Makes a new instance of the aligned text renderer

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

    Text to use

    vars object[]

    Variables to format the text with



    Properties

    BackgroundColor

    Background color of the text

    Property Value
    Color
    Declaration
    public Color BackgroundColor { get; set; }

    Decoration

    Decorations to add an appetizing prefix and suffix to the text

    Property Value
    Decoration
    Declaration
    public Decoration? Decoration { get; set; }

    ForegroundColor

    Foreground color of the text

    Property Value
    Color
    Declaration
    public Color ForegroundColor { get; set; }

    OneLine

    Whether to print all lines or only one line

    Property Value
    bool
    Declaration
    public bool OneLine { get; set; }

    Rainbow

    Whether to write text with rainbow effects or not

    Property Value
    bool
    Declaration
    public bool Rainbow { get; set; }

    RainbowBg

    Whether to write text with rainbow effects in the background or in the foreground

    Property Value
    bool
    Declaration
    public bool RainbowBg { get; set; }

    Settings

    Text settings to use

    Property Value
    TextSettings
    Declaration
    public TextSettings Settings { get; set; }

    Text

    Text to render

    Property Value
    string
    Declaration
    public string Text { get; set; }

    UseColors

    Whether to use colors or not

    Property Value
    bool
    Declaration
    public bool UseColors { get; set; }


    Methods

    Render()

    Renders an aligned text

    Returns
    string

    Rendered text that will be used by the renderer

    Declaration
    public override string Render()
    Overrides
    CyclicWriter.Render()
    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •