org.apache.jmeter.util
Class ColorHelper
java.lang.Object
|
+--org.apache.jmeter.util.ColorHelper
- public class ColorHelper
- extends Object
This class contains the static utility methods to manipulate colors.
- Version:
- $Revision: 1.3 $ $Date: 2003/07/09 21:20:38 $
- Author:
- Khor Soon Hin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorHelper
public ColorHelper()
changeColorCyclicIncrement
public static Color changeColorCyclicIncrement(Color col,
int inc)
- Given the
Color
, get the red, green and blue components.
Increment the lowest of the components by the indicated increment value.
If all the components are the same value increment in the order of
red, green and blue.
- Parameters:
inc
- value to increment the color components
- Returns:
- the color after change
Copyright © 1998-2003 Apache Software Foundation. All Rights Reserved.