Plotter<S>public class LinePlotter extends SimpleDecalPlotter<LineStyle>
| Constructor | Description |
|---|---|
LinePlotter() |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
LineStyle |
createStyle(ConfigMap config) |
Creates a style that can be used when creating a plot layer.
|
protected LayerOpt |
getLayerOpt(LineStyle style) |
Indicates the layer optimisation options that apply to a given style.
|
java.lang.String |
getPlotterDescription() |
Returns an XML description of this plotter.
|
ConfigKey[] |
getStyleKeys() |
Returns the configuration keys used to configure style for this plotter.
|
protected void |
paintData2D(Surface surface,
DataStore dataStore,
DataGeom geom,
DataSpec dataSpec,
LineStyle style,
java.awt.Graphics g,
PaperType paperType) |
Called during Decal painting to perform the actual plot.
|
getCoordGroup, getPlotterIcon, getPlotterName, hasReportsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateLayerpublic java.lang.String getPlotterDescription()
PlotterNote: really this should appear at the LayerType level.
public ConfigKey[] getStyleKeys()
PlotterPlotter.createStyle(uk.ac.starlink.ttools.plot2.config.ConfigMap) method.public LineStyle createStyle(ConfigMap config)
PlotterPlotter.getStyleKeys().
The return value can be used as input to Plotter.createLayer(uk.ac.starlink.ttools.plot2.DataGeom, uk.ac.starlink.ttools.plot2.data.DataSpec, S).config - map of style configuration itemsprotected LayerOpt getLayerOpt(LineStyle style)
SimpleDecalPlottergetLayerOpt in class SimpleDecalPlotter<LineStyle>style - plot styleprotected void paintData2D(Surface surface, DataStore dataStore, DataGeom geom, DataSpec dataSpec, LineStyle style, java.awt.Graphics g, PaperType paperType)
SimpleDecalPlotterpaintData2D in class SimpleDecalPlotter<LineStyle>surface - plot surfacedataStore - data storage objectgeom - data geometrystyle - plot styleg - graphics contextpaperType - paper typeCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.