Skip navigation links
A C D E G H I L O P R T X 

A

Ansi16ColorCode - Class in com.github.ajalt.mordant
 
Ansi16ColorCode(code) - Constructor for class com.github.ajalt.mordant.Ansi16ColorCode
 
Ansi256ColorCode - Class in com.github.ajalt.mordant
 
Ansi256ColorCode(code) - Constructor for class com.github.ajalt.mordant.Ansi256ColorCode
 
AnsiCode - Class in com.github.ajalt.mordant
A class representing one or more numeric ANSI codes.
AnsiCode(codes) - Constructor for class com.github.ajalt.mordant.AnsiCode
A class representing one or more numeric ANSI codes.
AnsiCode(openCodes, closeCode) - Constructor for class com.github.ajalt.mordant.AnsiCode
 
AnsiCode(openCode, closeCode) - Constructor for class com.github.ajalt.mordant.AnsiCode
 
AnsiColorCode - Class in com.github.ajalt.mordant
A class representing one or more ANSI color codes.
AnsiColorCode(codes) - Constructor for class com.github.ajalt.mordant.AnsiColorCode
A class representing one or more ANSI color codes.
AnsiColorCode(openCodes, closeCode) - Constructor for class com.github.ajalt.mordant.AnsiColorCode
 
AnsiColorCode(openCode, closeCode) - Constructor for class com.github.ajalt.mordant.AnsiColorCode
 
AnsiColorsKt - Class in com.github.ajalt.mordant
 
AnsiRGBColorCode - Class in com.github.ajalt.mordant
 
AnsiRGBColorCode(r, g, b) - Constructor for class com.github.ajalt.mordant.AnsiRGBColorCode
 

C

cmyk(c, m, y, k) - Method in class com.github.ajalt.mordant.TermColors
Create a color code from a CMYK color.
color(color) - Method in class com.github.ajalt.mordant.TermColors
Create a color from an existing ConvertibleColor.
com.github.ajalt.mordant - package com.github.ajalt.mordant
 
consoleAvailable() - Method in class com.github.ajalt.mordant.TerminalCapabilities
Return true if stdout and stdin are both ttys.
cursorDown(count) - Method in class com.github.ajalt.mordant.TermColors
Create an ANSI code to move the cursor down count cells.
cursorLeft(count) - Method in class com.github.ajalt.mordant.TermColors
Create an ANSI code to move the cursor left count cells.
cursorRight(count) - Method in class com.github.ajalt.mordant.TermColors
Create an ANSI code to move the cursor right count cells.
cursorUp(count) - Method in class com.github.ajalt.mordant.TermColors
Create an ANSI code to move the cursor up count cells.

D

detectANSISupport(p) - Method in class com.github.ajalt.mordant.TerminalCapabilities
Return the best guess at the current terminal's support for ANSI colors.

E

equals(other) - Method in class com.github.ajalt.mordant.AnsiCode
 

G

getBg() - Method in class com.github.ajalt.mordant.AnsiColorCode
Get a color for background only.
getBgCodes() - Method in class com.github.ajalt.mordant.Ansi16ColorCode
 
getBgCodes() - Method in class com.github.ajalt.mordant.Ansi256ColorCode
 
getBgCodes() - Method in class com.github.ajalt.mordant.AnsiColorCode
 
getBgCodes() - Method in class com.github.ajalt.mordant.AnsiRGBColorCode
 
getBlack() - Method in class com.github.ajalt.mordant.TermColors
 
getBlue() - Method in class com.github.ajalt.mordant.TermColors
 
getBold() - Method in class com.github.ajalt.mordant.TermColors
Render text as bold or increased intensity.
getBrightBlue() - Method in class com.github.ajalt.mordant.TermColors
 
getBrightCyan() - Method in class com.github.ajalt.mordant.TermColors
 
getBrightGreen() - Method in class com.github.ajalt.mordant.TermColors
 
getBrightMagenta() - Method in class com.github.ajalt.mordant.TermColors
 
getBrightRed() - Method in class com.github.ajalt.mordant.TermColors
 
getBrightWhite() - Method in class com.github.ajalt.mordant.TermColors
 
getBrightYellow() - Method in class com.github.ajalt.mordant.TermColors
 
getClose() - Method in class com.github.ajalt.mordant.AnsiCode
 
getCodes() - Method in class com.github.ajalt.mordant.AnsiCode
A list of pairs,
getCyan() - Method in class com.github.ajalt.mordant.TermColors
 
getDim() - Method in class com.github.ajalt.mordant.TermColors
Render text as faint or decreased intensity.
getGray() - Method in class com.github.ajalt.mordant.TermColors
 
getGreen() - Method in class com.github.ajalt.mordant.TermColors
 
getHidden() - Method in class com.github.ajalt.mordant.TermColors
Conceal text.
getHideCursor() - Method in class com.github.ajalt.mordant.TermColors
Create an ANSI code to hide the cursor.
getInverse() - Method in class com.github.ajalt.mordant.TermColors
Render text with background and foreground colors switched.
getItalic() - Method in class com.github.ajalt.mordant.TermColors
Render text as italic.
getLevel() - Method in class com.github.ajalt.mordant.TermColors
 
getMagenta() - Method in class com.github.ajalt.mordant.TermColors
 
getOpen() - Method in class com.github.ajalt.mordant.AnsiCode
 
getRed() - Method in class com.github.ajalt.mordant.TermColors
 
getReset() - Method in class com.github.ajalt.mordant.TermColors
Clear all active styles
getShowCursor() - Method in class com.github.ajalt.mordant.TermColors
Create an ANSI code to show the cursor.
getStrikethrough() - Method in class com.github.ajalt.mordant.TermColors
Render text with a strikethrough.
getUnderline() - Method in class com.github.ajalt.mordant.TermColors
Underline text.
getWhite() - Method in class com.github.ajalt.mordant.TermColors
 
getYellow() - Method in class com.github.ajalt.mordant.TermColors
 
gray(fraction) - Method in class com.github.ajalt.mordant.TermColors
Create a grayscale color code from a fraction in the range \[0, 1].

H

hashCode() - Method in class com.github.ajalt.mordant.AnsiCode
 
hsl(h, s, l) - Method in class com.github.ajalt.mordant.TermColors
Create a color code from an HSL color.
hsv(h, s, v) - Method in class com.github.ajalt.mordant.TermColors
Create a color code from an HSV color.

I

INSTANCE - Static variable in class com.github.ajalt.mordant.TerminalCapabilities
 
invoke(text) - Method in class com.github.ajalt.mordant.AnsiCode
 

L

lab(l, a, b) - Method in class com.github.ajalt.mordant.TermColors
Create a color code from a CIE LAB color.
Level() - Constructor for enum com.github.ajalt.mordant.TermColors.Level
 

O

on(bg) - Method in class com.github.ajalt.mordant.AnsiColorCode
 

P

plus(other) - Method in class com.github.ajalt.mordant.AnsiCode
 

R

rgb(hex) - Method in class com.github.ajalt.mordant.TermColors
 
rgb(r, g, b) - Method in class com.github.ajalt.mordant.TermColors
Create a color code from an RGB color.

T

TermColors - Class in com.github.ajalt.mordant
The main entry point into mordant. Used to generate ANSI codes.
TermColors(level) - Constructor for class com.github.ajalt.mordant.TermColors
The main entry point into mordant. Used to generate ANSI codes.
TermColors() - Constructor for class com.github.ajalt.mordant.TermColors
The main entry point into mordant. Used to generate ANSI codes.
TermColors.Level - Enum in com.github.ajalt.mordant
 
TerminalCapabilities - Class in com.github.ajalt.mordant
 
toString() - Method in class com.github.ajalt.mordant.AnsiCode
 

X

xyz(x, y, z) - Method in class com.github.ajalt.mordant.TermColors
Create a color code from a CIE XYZ color.
A C D E G H I L O P R T X 
Skip navigation links