Class LineCombineArrayPlotter.LineCombineArrayStyle
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.CombineArrayPlotter.CombineArrayStyle
-
- uk.ac.starlink.ttools.plot2.layer.LineCombineArrayPlotter.LineCombineArrayStyle
-
- All Implemented Interfaces:
Style
- Enclosing class:
- LineCombineArrayPlotter
public static class LineCombineArrayPlotter.LineCombineArrayStyle extends CombineArrayPlotter.CombineArrayStyle
Style for use with this plotter.
-
-
Constructor Summary
Constructors Constructor Description LineCombineArrayStyle(Combiner xCombiner, Combiner yCombiner, java.awt.Color color, java.awt.Stroke stroke, boolean isAntialias)
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()
void
paintPoints(PlanarSurface surface, PaperType paperType, Paper paper, java.awt.geom.Point2D.Double[] gpoints)
Do the actual plotting given an array of graphics points corresponding to the combined array elements.-
Methods inherited from class uk.ac.starlink.ttools.plot2.layer.CombineArrayPlotter.CombineArrayStyle
getCombinerX, getCombinerY, getLayerOpt
-
-
-
-
Constructor Detail
-
LineCombineArrayStyle
public LineCombineArrayStyle(Combiner xCombiner, Combiner yCombiner, java.awt.Color color, java.awt.Stroke stroke, boolean isAntialias)
Constructor.- Parameters:
xCombiner
- combiner for elements of X array valuesyCombiner
- combiner for elements of Y array valuescolor
- colourstroke
- line strokeisAntialias
- true for antialiasing
-
-
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.
-
paintPoints
public void paintPoints(PlanarSurface surface, PaperType paperType, Paper paper, java.awt.geom.Point2D.Double[] gpoints)
Description copied from class:CombineArrayPlotter.CombineArrayStyle
Do the actual plotting given an array of graphics points corresponding to the combined array elements.- Specified by:
paintPoints
in classCombineArrayPlotter.CombineArrayStyle
- Parameters:
surface
- plot surfacepaperType
- paper typepaper
- papergpoints
- points in graphics coordinates corresponding to the aggregated per-element values of the input X and Y array coordinates
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCombineArrayPlotter.CombineArrayStyle
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classCombineArrayPlotter.CombineArrayStyle
-
-