uk.ac.starlink.ttools.plot2.layer
Class DensogramPlotter.DensoStyle
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.DensogramPlotter.DensoStyle
- All Implemented Interfaces:
- Style
- Enclosing class:
- DensogramPlotter
public static class DensogramPlotter.DensoStyle
- extends Object
- implements Style
Plotting style for this class.
DensogramPlotter.DensoStyle
public DensogramPlotter.DensoStyle(Color baseColor,
Shader shader,
Scaling scaling,
Kernel1dShape kernelShape,
Combiner combiner,
BinSizer sizer,
boolean cumul,
int extent,
double position)
- Constructor.
- Parameters:
baseColor
- base colourshader
- colour ramp shaderscaling
- colour ramp scaling functionkernelShape
- smoothing kernel shapecombiner
- pixel bin aggregation modesizer
- smoothing width specificationcumul
- are bins painted cumulativelyextent
- height in pixels of density barposition
- fractional location of density bar (0..1)
getLegendIcon
public Icon getLegendIcon()
- Description copied from interface:
Style
- Returns an icon suitable for displaying in a legend for this style.
- Specified by:
getLegendIcon
in interface Style
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.