Search Results for

    Show / Hide Table of Contents

    Class BoxFrame

    Box frame renderable

    Inheritance
    object
    CyclicWriter
    GraphicalCyclicWriter
    BoxFrame
    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
    Assembly: Terminaux.dll
    Syntax
    public class BoxFrame : GraphicalCyclicWriter

    Constructors

    | Edit this page View Source

    BoxFrame(Mark?, params object[])

    Makes a new instance of the box frame renderer

    Declaration
    public BoxFrame(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

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

    DropShadow

    Whether to enable drop shadow or not

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

    FrameColor

    Box frame color

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

    Rulers

    Rulers that divide the box frame

    Declaration
    public RulerInfo[] Rulers { get; set; }
    Property Value
    Type Description
    RulerInfo[]
    | Edit this page View Source

    Settings

    Border settings to use

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

    ShadowColor

    Drop shadow color

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

    Text

    Top position

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

    TitleColor

    Box frame title color

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

    TitleSettings

    Title settings to use

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

    UseColors

    Whether to use colors or not

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

    Methods

    | Edit this page View Source

    Render()

    Renders a box frame

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    Rendered box frame that will be used by the renderer

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