summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMarkus Keller2013-02-14 07:02:14 (EST)
committer Carolyn MacLeod2013-04-09 10:53:12 (EDT)
commit764fda08bec315a3f90021203ef32343ee60a0c3 (patch)
tree5a89fa82c7b443e2e594f36b566a5521a3f95697
parent13d15b5916cda3bfec89bcfa15259d1d0fd18e9a (diff)
downloadeclipse.platform.swt-764fda08bec315a3f90021203ef32343ee60a0c3.zip
eclipse.platform.swt-764fda08bec315a3f90021203ef32343ee60a0c3.tar.gz
eclipse.platform.swt-764fda08bec315a3f90021203ef32343ee60a0c3.tar.bz2
javadoc: clarified getHSB()
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/RGB.java13
1 files changed, 9 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/RGB.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/RGB.java
index e7a5630..d3bda91 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/RGB.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/RGB.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -10,8 +10,8 @@
*******************************************************************************/
package org.eclipse.swt.graphics;
-import org.eclipse.swt.internal.SerializableCompatibility;
import org.eclipse.swt.*;
+import org.eclipse.swt.internal.*;
/**
* Instances of this class are descriptions of colors in
@@ -152,8 +152,13 @@ public RGB(float hue, float saturation, float brightness) {
/**
* Returns the hue, saturation, and brightness of the color.
*
- * @return color space values in float format (hue, saturation, brightness)
- *
+ * @return color space values in float format:<ul>
+ * <li>hue (from 0 to 360)</li>
+ * <li>saturation (from 0 to 1)</li>
+ * <li>brightness (from 0 to 1)</li>
+ * </ul>
+ * @see #RGB(float, float, float)
+ *
* @since 3.2
*/
public float[] getHSB() {