Package | Description |
---|---|
cn.hutool.core.lang.ansi |
命令行终端中ANSI 转义序列相关封装,如ANSI颜色等
|
Modifier and Type | Class and Description |
---|---|
class |
Ansi8BitColor
ANSI 8-bit前景或背景色(即8位编码,共256种颜色(2^8) )
0-7: 标准颜色(同ESC [ 30–37 m) 8-15: 高强度颜色(同ESC [ 90–97 m) 16-231(6 × 6 × 6 共 216色): 16 + 36 × r + 6 × g + b (0 ≤ r, g, b ≤ 5) 232-255: 从黑到白的24阶灰度色 来自Spring Boot |
class |
AnsiBackground
ANSI背景颜色枚举
来自Spring Boot
|
class |
AnsiColor
ANSI标准颜色
来自Spring Boot
|
class |
AnsiStyle
ANSI文本样式风格枚举
来自Spring Boot
|
Modifier and Type | Method and Description |
---|---|
AnsiElement |
AnsiColorWrapper.toAnsiElement(ForeOrBack foreOrBack)
转换为
AnsiElement 实例 |
Copyright © 2024. All rights reserved.