Uses of Interface
org.miaixz.bus.core.lang.ansi.AnsiElement
Packages that use AnsiElement
Package
Description
命令行终端中ANSI 转义序列相关封装,如ANSI颜色等
提供各种工具封装
xyz:做好一切必要准备,可以行动了
-
Uses of AnsiElement in org.miaixz.bus.core.lang.ansi
Classes in org.miaixz.bus.core.lang.ansi that implement AnsiElementModifier and TypeClassDescriptionenumANSI标准颜色classANSI 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阶灰度色Fields in org.miaixz.bus.core.lang.ansi with type parameters of type AnsiElementMethods in org.miaixz.bus.core.lang.ansi that return AnsiElementModifier and TypeMethodDescriptionAnsiLabMapping.lookupClosest(Color color) 查找与给定LabColor最接近的AnsiElement颜色AnsiLabMapping.lookupClosest(LabColor color) 查找与给定LabColor最接近的AnsiElement颜色 -
Uses of AnsiElement in org.miaixz.bus.core.xyz
Methods in org.miaixz.bus.core.xyz that return AnsiElementModifier and TypeMethodDescriptionstatic AnsiElementColorKit.toAnsiColor(int rgb, boolean is8Bit, boolean isBackground) AWT的Color颜色转换为ANSI颜色,由于取最接近颜色,故可能有色差static AnsiElementColorKit.toAnsiColor(Color color, boolean is8Bit, boolean isBackground) AWT的Color颜色转换为ANSI颜色,由于取最接近颜色,故可能有色差