Search Results for

    Class CowsayText

    Cowsay text renderable

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    CowsayText
    Namespace
    Terminaux.Writer.CyclicWriters.Simple @ Terminaux.dll
    Syntax
    public class CowsayText : SimpleCyclicWriter


    Constructors

    CowsayText(CowName, Mark?, params object[])

    Makes a new instance of the aligned cowsay text renderer

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

    Cow to render with

    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; }

    CowName

    Cowsay cow name to render the text with

    Property Value
    CowName
    Declaration
    public CowName CowName { get; set; }

    CowSayMode

    Cowsay speak mode

    Property Value
    CowSayMode
    Declaration
    public CowSayMode CowSayMode { get; set; }

    ForegroundColor

    Foreground color of the text

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

    Text

    Top position

    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 cowsay 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

    •  
    •  
    •  
    •