类的使用
cool.scx.common.util.ansi.Ansi
使用Ansi的程序包
-
cool.scx.common.util.ansi中Ansi的使用
修饰符和类型方法说明Ansi.add(Object o, AnsiElement... ansiElements) astatic AnsiAnsi.ansi()out.Ansi.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) 默认颜色Ansi.green(Object o, AnsiElement... ansiElements) 绿色Ansi.ln()换行Ansi.magenta(Object o, AnsiElement... ansiElements) 紫色Ansi.red(Object o, AnsiElement... ansiElements) 红色Ansi.white(Object o, AnsiElement... ansiElements) 白色Ansi.yellow(Object o, AnsiElement... ansiElements) 黄色