类 FormattingUtil.Ansi
java.lang.Object
net.neoforged.testframework.summary.FormattingUtil.Ansi
- 封闭类:
FormattingUtil
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static double
calculateDistance
(int red1, int green1, int blue1, int red2, int green2, int blue2) static String
convertRGBToAnsiCode
(int rgb) private static double[]
xyzToLab
(double r, double g, double b)
-
字段详细资料
-
RESET
- 另请参阅:
-
BOLD
- 另请参阅:
-
ITALIC
- 另请参阅:
-
UNDERLINE
- 另请参阅:
-
STRIKE
- 另请参阅:
-
COLORS_RGB
private static final int[][] COLORS_RGB
-
-
构造器详细资料
-
Ansi
public Ansi()
-
-
方法详细资料
-
convertRGBToAnsiCode
-
calculateDistance
private static double calculateDistance(int red1, int green1, int blue1, int red2, int green2, int blue2) -
xyzToLab
private static double[] xyzToLab(double r, double g, double b)
-