接口的使用
cool.scx.common.util.ansi.AnsiElement
使用AnsiElement的程序包
-
cool.scx.common.util.ansi中AnsiElement的使用
修饰符和类型类说明final class8Bit 背景色final class8Bit 前景色enum背景色enum前景色enumAnsi 样式参数类型为AnsiElement的cool.scx.common.util.ansi中的方法修饰符和类型方法说明Ansi.add(Object o, AnsiElement... ansiElements) aAnsi.black(Object o, AnsiElement... ansiElements) 黑色Ansi.blue(Object o, AnsiElement... ansiElements) 蓝色Ansi.brightBlack(Object o, AnsiElement... ansiElements) 亮黑色 ( 真的存在这种颜色吗 ?Ansi.brightBlue(Object o, AnsiElement... ansiElements) 亮蓝色Ansi.brightCyan(Object o, AnsiElement... ansiElements) 亮青色Ansi.brightGreen(Object o, AnsiElement... ansiElements) 亮绿色Ansi.brightMagenta(Object o, AnsiElement... ansiElements) 亮紫色Ansi.brightRed(Object o, AnsiElement... ansiElements) 亮红色Ansi.brightWhite(Object o, AnsiElement... ansiElements) 亮白色Ansi.brightYellow(Object o, AnsiElement... ansiElements) 亮黄色Ansi.color(Object o, AnsiElement... ansiElements) 向控制台打印输出 颜色根据内部计数器自动读取Ansi.cyan(Object o, AnsiElement... ansiElements) 青色Ansi.defaultColor(Object o, AnsiElement... ansiElements) 默认颜色static StringAnsi.encode(AnsiElement element) Encode a singleAnsiElementif output is enabled.Ansi.green(Object o, AnsiElement... ansiElements) 绿色Ansi.magenta(Object o, AnsiElement... ansiElements) 紫色Ansi.red(Object o, AnsiElement... ansiElements) 红色Ansi.white(Object o, AnsiElement... ansiElements) 白色Ansi.yellow(Object o, AnsiElement... ansiElements) 黄色