Class CombineArrayPlotter.CombineArrayStyle
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.CombineArrayPlotter.CombineArrayStyle
- All Implemented Interfaces:
Style
- Direct Known Subclasses:
LineCombineArrayPlotter.LineCombineArrayStyle
,MarkCombineArrayPlotter.MarkCombineArrayStyle
- Enclosing class:
- CombineArrayPlotter<S extends CombineArrayPlotter.CombineArrayStyle>
Partial Style implementation for use with this class.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CombineArrayStyle
(Combiner xCombiner, Combiner yCombiner, LayerOpt layerOpt) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the combination mode for elements of X array values.Returns the combination mode for elements of Y array values.Returns the LayerOpt for this style.int
hashCode()
abstract void
paintPoints
(PlanarSurface surface, PaperType paperType, Paper paper, Point2D.Double[] points) Do the actual plotting given an array of graphics points corresponding to the combined array elements.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface uk.ac.starlink.ttools.plot.Style
getLegendIcon
-
Constructor Details
-
CombineArrayStyle
Constructor.- Parameters:
xCombiner
- combiner for elements of X array valuesyCombiner
- combiner for elements of Y array valueslayerOpt
- layerOpt
-
-
Method Details
-
getCombinerX
Returns the combination mode for elements of X array values.- Returns:
- X combiner
-
getCombinerY
Returns the combination mode for elements of Y array values.- Returns:
- Y combiner
-
getLayerOpt
Returns the LayerOpt for this style.- Returns:
- layer opt
-
paintPoints
public abstract void paintPoints(PlanarSurface surface, PaperType paperType, Paper paper, Point2D.Double[] points) Do the actual plotting given an array of graphics points corresponding to the combined array elements.- Parameters:
surface
- plot surfacepaperType
- paper typepaper
- paperpoints
- points in graphics coordinates corresponding to the aggregated per-element values of the input X and Y array coordinates
-
hashCode
public int hashCode() -
equals
-