public abstract class AnsiBitColor extends Object implements AnsiColor
| Constructor and Description |
|---|
AnsiBitColor(String code) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
color(byte type,
byte bit,
int... elem)
生成颜色码
|
String |
getCode()
获取 SGR Code
|
String |
toString()
获取元素
|
public AnsiBitColor(String code)
protected static String color(byte type, byte bit, int... elem)
elem - elempublic String toString()
AnsiElementtoString in interface AnsiElementtoString in class ObjectCopyright © 2024. All rights reserved.