Utility TypeScript @ 2.0.0-beta
    Preparing search index...

    Interface PainterArgs

    Optional configuration for MessageMaker.painter.

    0.1.1

    interface PainterArgs {
        bold: boolean;
        clr: null | Colour;
        flag: boolean | "reverse";
        italic: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    bold: boolean

    If true, applies bold font styles.

    false
    
    clr: null | Colour

    Applies the given colour to the text.

    Default painter function for {@link MessageMaker.Args}.paintFormat options "html" and "markdown" do not currently support colours. To use colour with those outputs formats, you must provide your own {@link MessageMaker.Args}.painter argument.

    null
    
    flag: boolean | "reverse"

    Colours the message in the inverse -- clr is the background. If ``, the flag background should be solid black and the foreground is the chosen colour.

    false
    
    italic: boolean

    If true, applies italic font styles.

    false