Class DensogramPlotter.DensoStyle
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.DensogramPlotter.DensoStyle
- All Implemented Interfaces:
Style
- Enclosing class:
DensogramPlotter
-
Constructor Summary
ConstructorsConstructorDescriptionDensoStyle(Color baseColor, Shader shader, Scaling scaling, Subrange dataclip, boolean isY, Kernel1dShape kernelShape, Combiner combiner, BinSizer sizer, Cumulation cumul, int extent, double position) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns an icon suitable for displaying in a legend for this style.inthashCode()
-
Constructor Details
-
DensoStyle
public DensoStyle(Color baseColor, Shader shader, Scaling scaling, Subrange dataclip, boolean isY, 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 subrangeisY- if true, plotted sidewayskernelShape- 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 Details
-
getLegendIcon
Description copied from interface:StyleReturns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIconin interfaceStyle
-
hashCode
-
equals
-