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, Cumulation cumul, int extent, double position)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)javax.swing.IcongetLegendIcon()Returns an icon suitable for displaying in a legend for this style.inthashCode()
-
-
-
Constructor Detail
-
DensoStyle
public DensoStyle(java.awt.Color baseColor, Shader shader, Scaling scaling, Subrange dataclip, Kernel1dShape kernelShape, Combiner combiner, BinSizer sizer, Cumulation 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:StyleReturns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIconin interfaceStyle
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-