Skip to content

Commit

Permalink
* Expose xyToDuv
Browse files Browse the repository at this point in the history
Signed-off-by: Holger Friedrich <[email protected]>
  • Loading branch information
holgerfriedrich committed Oct 7, 2024
1 parent 718d694 commit 96ae0df
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ public static HSBType xyToHsb(double[] xy, double[] gamutR, double[] gamutG, dou
return ColorUtil.xyToHsb(xy, gamut);
}

public static double xyToDuv(double[] xy) throws IllegalArgumentException {
return ColorUtil.xyToDuv(xy);
}

public static double[] kelvinToXY(double kelvin) throws IndexOutOfBoundsException {
return ColorUtil.kelvinToXY(kelvin);
}
Expand Down

0 comments on commit 96ae0df

Please sign in to comment.