Package org.apache.jmeter.util
Class ColorHelper
java.lang.Object
org.apache.jmeter.util.ColorHelper
This class contains the static utility methods to manipulate colors.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Color
changeColorCyclicIncrement
(Color col, int inc) Given theColor
, get the red, green and blue components.
-
Method Details
-
changeColorCyclicIncrement
Given theColor
, 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:
col
-Color
to start withinc
- value to increment the color components- Returns:
- the color after change
-