Search Results for

    Show / Hide Table of Contents

    Class Decoration

    Decoration renderer

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    Decoration
    Namespace: Terminaux.Writer.CyclicWriters.Simple
    Assembly: Terminaux.dll
    Syntax
    public class Decoration : SimpleCyclicWriter

    Constructors

    | Edit this page View Source

    Decoration()

    Makes a new decoration instance

    Declaration
    public Decoration()

    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

    End

    End of the decoration

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

    ForegroundColor

    Foreground color

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

    Start

    Start of the decoration

    Declaration
    public string Start { 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

    Methods

    | Edit this page View Source

    Render()

    Renders a decoration (both start and end)

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    A string representation of the decoration

    Overrides
    CyclicWriter.Render()
    | Edit this page View Source

    RenderEnd()

    Renders a decoration (end)

    Declaration
    public string RenderEnd()
    Returns
    Type Description
    string

    A string representation of the decoration

    | Edit this page View Source

    RenderStart()

    Renders a decoration (start)

    Declaration
    public string RenderStart()
    Returns
    Type Description
    string

    A string representation of the decoration

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX