java.lang.Object
omix.lang.chart.util.CustomColorScheme
- All Implemented Interfaces:
ColorScheme
public class CustomColorScheme extends Object implements ColorScheme
Use this type to define a custom color scheme.
- Since:
- Omix 1.8.6
- Author:
- Dr. Peter Droste
-
Constructor Summary
Constructors Constructor Description CustomColorScheme(Color... colors)
-
Method Summary
Modifier and Type Method Description int
colorCount()
Color
getColor(int index)
Color[]
getColors()
-
Constructor Details
-
CustomColorScheme
- Parameters:
colors
- the colors of the scheme
-
-
Method Details
-
getColors
- Specified by:
getColors
in interfaceColorScheme
-
getColor
- Specified by:
getColor
in interfaceColorScheme
-
colorCount
public int colorCount()- Specified by:
colorCount
in interfaceColorScheme
-