Class FormattingUtil.Ansi
java.lang.Object
net.neoforged.testframework.summary.FormattingUtil.Ansi
- Enclosing class:
FormattingUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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)
-
Field Details
-
RESET
- See Also:
-
BOLD
- See Also:
-
ITALIC
- See Also:
-
UNDERLINE
- See Also:
-
STRIKE
- See Also:
-
COLORS_RGB
private static final int[][] COLORS_RGB
-
-
Constructor Details
-
Ansi
public Ansi()
-
-
Method Details
-
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)
-