aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/Color.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/Color.java b/src/main/java/Color.java
index 4597b26..9e05039 100644
--- a/src/main/java/Color.java
+++ b/src/main/java/Color.java
@@ -80,9 +80,7 @@ public final class Color {
80 /** 80 /**
81 * Returns packed RGB components from given grayscale value. 81 * Returns packed RGB components from given grayscale value.
82 * 82 *
83 * @param red a float between 0.0 and 1.0 83 * @param gray a float between 0.0 and 1.0
84 * @param green a float between 0.0 and 1.0
85 * @param blue a float between 0.0 and 1.0
86 * @return 32-bits RGB color 84 * @return 32-bits RGB color
87 * @see #getGray 85 * @see #getGray
88 */ 86 */
@@ -107,7 +105,7 @@ public final class Color {
107 /** 105 /**
108 * Converts grayscale float image to packed RGB image. 106 * Converts grayscale float image to packed RGB image.
109 * 107 *
110 * @param channels a HxW float array 108 * @param gray a HxW float array
111 * @return a HxW int array 109 * @return a HxW int array
112 * @see #toGray 110 * @see #toGray
113 * @see #getRGB(float) 111 * @see #getRGB(float)