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 java.lang.Object implements Style
Plotting style for this class.
-
-
Constructor Summary
Constructors Constructor Description DensoStyle(java.awt.Color baseColor, Shader shader, Scaling scaling, Subrange dataclip, Kernel1dShape kernelShape, Combiner combiner, BinSizer sizer, boolean cumul, int extent, double position)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
javax.swing.Icon
getLegendIcon()
Returns an icon suitable for displaying in a legend for this style.int
hashCode()
-
-
-
Constructor Detail
-
DensoStyle
public DensoStyle(java.awt.Color baseColor, Shader shader, Scaling scaling, Subrange dataclip, Kernel1dShape kernelShape, Combiner combiner, BinSizer sizer, boolean cumul, int extent, double position)
Constructor.- Parameters:
baseColor
- base colourshader
- colour ramp shaderscaling
- colour ramp scaling functiondataclip
- input value subrangekernelShape
- 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)
-
-
Method Detail
-
getLegendIcon
public javax.swing.Icon getLegendIcon()
Description copied from interface:Style
Returns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIcon
in interfaceStyle
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-