java.lang.Object
swim.codec.OutputStyle
Stylized text output utility functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Output<T>Writes the ASCII black foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII bold black foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII blue foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII bold blue foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII bold (increased intensity) escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII cyan foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII bold cyan foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII faint (decreased intensity) escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII gray foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII bold gray foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII green foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII bold green foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII magenta foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>magentaBold(Output<T> output) Writes the ASCII bold magenta foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII red foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>Writes the ASCII bold red foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>static <T> Output<T>Writes the ASCII yellow foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.static <T> Output<T>yellowBold(Output<T> output) Writes the ASCII bold yellow foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.
-
Method Details
-
reset
- Returns:
- the continuation of the
output.
-
bold
Writes the ASCII bold (increased intensity) escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
faint
Writes the ASCII faint (decreased intensity) escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
black
Writes the ASCII black foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
red
Writes the ASCII red foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
green
Writes the ASCII green foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
yellow
Writes the ASCII yellow foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
blue
Writes the ASCII blue foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
magenta
Writes the ASCII magenta foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
cyan
Writes the ASCII cyan foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
gray
Writes the ASCII gray foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
blackBold
Writes the ASCII bold black foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
redBold
Writes the ASCII bold red foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
greenBold
Writes the ASCII bold green foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
yellowBold
Writes the ASCII bold yellow foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
blueBold
Writes the ASCII bold blue foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
magentaBold
Writes the ASCII bold magenta foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
cyanBold
Writes the ASCII bold cyan foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-
grayBold
Writes the ASCII bold gray foreground color escape code tooutput, ifoutput.settings().isStyled()istrue.- Returns:
- the continuation of the
output.
-