Search Results for

    Class CowsayTools

    Cowsay tools

    Inheritance
    object
    CowsayTools
    Namespace
    Terminaux.Writer.CyclicWriters.Renderer.Tools @ Terminaux.dll
    Syntax
    public static class CowsayTools


    Methods

    GetCowsayHeight(string, CowName, bool, int)

    Gets the cowsay text height

    Returns
    int
    Declaration
    public static int GetCowsayHeight(string Text, CowName CowsayFont, bool think = false, int width = 0)
    Parameters
    Name Type Description
    Text string

    Text

    CowsayFont CowName

    Target cowsay font

    think bool

    Thinking mode

    width int

    Max width of the resultant cowsay rendered text. Pass 0 for single-line.

    GetCowsayLines(string, CowName, bool, int)

    Gets the cowsay lines

    Returns
    string[]
    Declaration
    public static string[] GetCowsayLines(string Text, CowName CowsayFont, bool think = false, int width = 0)
    Parameters
    Name Type Description
    Text string

    Text

    CowsayFont CowName

    Target cowsay font

    think bool

    Thinking mode

    width int

    Max width of the resultant cowsay rendered text. Pass 0 for single-line.

    GetCowsayWidth(string, CowName, bool, int)

    Gets the cowsay text width

    Returns
    int
    Declaration
    public static int GetCowsayWidth(string Text, CowName CowsayFont, bool think = false, int width = 0)
    Parameters
    Name Type Description
    Text string

    Text

    CowsayFont CowName

    Target cowsay font

    think bool

    Thinking mode

    width int

    Max width of the resultant cowsay rendered text. Pass 0 for single-line.

    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •