summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/common/org
diff options
context:
space:
mode:
authorMarkus Keller <markus_keller@ch.ibm.com>2013-02-14 13:02:14 +0100
committerMarkus Keller <markus_keller@ch.ibm.com>2013-02-14 13:02:14 +0100
commit297d6cc93ae1bfad9accd711761419c8fba77a82 (patch)
treedc3f166b5cf73b81ab8027c604d785d43b57f7bd /bundles/org.eclipse.swt/Eclipse SWT/common/org
parenta037998b353b05ee82e13bf075b6bbaa98c571fb (diff)
downloadeclipse.platform.swt-297d6cc93ae1bfad9accd711761419c8fba77a82.tar.gz
eclipse.platform.swt-297d6cc93ae1bfad9accd711761419c8fba77a82.tar.xz
eclipse.platform.swt-297d6cc93ae1bfad9accd711761419c8fba77a82.zip
javadoc: clarified getHSB()
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/common/org')
-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 e7a5630bbd..d3bda91cbd 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() {