Class HSB
Object
org.anchoranalysis.bean.AnchorBean<ColorScheme>
org.anchoranalysis.bean.shared.color.scheme.ColorScheme
org.anchoranalysis.bean.shared.color.scheme.HSB
public class HSB extends ColorScheme
Creates a sequence of colors by varying the hue-component in a HSB color
model.
The saturation and brightness are held constant at 0.5.
The range of hues are partitioned evenly by the number of colors desired.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description HSB() -
Method Summary
Modifier and Type Method Description ColorListcreateList(int size)Creates a sequence of related colors.Methods inherited from class org.anchoranalysis.bean.shared.color.scheme.ColorScheme
colorForEachIndexMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
HSB
public HSB()
-
-
Method Details
-
createList
Description copied from class:ColorSchemeCreates a sequence of related colors.- Specified by:
createListin classColorScheme- Parameters:
size- the size of the list- Returns:
- a newly created list with colors
-