HSLColor: fixed javadoc errors

This commit is contained in:
Karl Tauber
2019-11-20 17:21:49 +01:00
parent b5c13bd1b3
commit e6e19110b2

View File

@@ -312,7 +312,7 @@ public class HSLColor
* *
* @param hsl an array containing the 3 HSL values * @param hsl an array containing the 3 HSL values
* *
* @returns the RGB Color object * @return the RGB Color object
*/ */
public static Color toRGB(float[] hsl) public static Color toRGB(float[] hsl)
{ {
@@ -328,7 +328,7 @@ public class HSLColor
* @param hsl an array containing the 3 HSL values * @param hsl an array containing the 3 HSL values
* @param alpha the alpha value between 0 - 1 * @param alpha the alpha value between 0 - 1
* *
* @returns the RGB Color object * @return the RGB Color object
*/ */
public static Color toRGB(float[] hsl, float alpha) public static Color toRGB(float[] hsl, float alpha)
{ {
@@ -342,7 +342,7 @@ public class HSLColor
* @param s Saturation is specified as a percentage in the range 1 - 100. * @param s Saturation is specified as a percentage in the range 1 - 100.
* @param l Lumanance is specified as a percentage in the range 1 - 100. * @param l Lumanance is specified as a percentage in the range 1 - 100.
* *
* @returns the RGB Color object * @return the RGB Color object
*/ */
public static Color toRGB(float h, float s, float l) public static Color toRGB(float h, float s, float l)
{ {
@@ -357,7 +357,7 @@ public class HSLColor
* @param l Lumanance is specified as a percentage in the range 1 - 100. * @param l Lumanance is specified as a percentage in the range 1 - 100.
* @param alpha the alpha value between 0 - 1 * @param alpha the alpha value between 0 - 1
* *
* @returns the RGB Color object * @return the RGB Color object
*/ */
public static Color toRGB(float h, float s, float l, float alpha) public static Color toRGB(float h, float s, float l, float alpha)
{ {