Class LineStyle
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.LineStyle
- All Implemented Interfaces:
Style
- Direct Known Subclasses:
AuxLineStyle, FunctionPlotter.FunctionStyle, Stats1Plotter.StatsStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLineTracer(Graphics g, Rectangle bounds, int nwork, boolean isPixel) Convenience method to return a line tracer that will use this style.booleanbooleanIndicates whether the line will be antialiased in suitable (bitmapped) contexts.getColor()Returns the line colour.Returns an icon suitable for displaying in a legend for this style.Returns the object used to stroke the line.inthashCode()
-
Constructor Details
-
LineStyle
-
-
Method Details
-
getColor
-
getStroke
-
getAntialias
public boolean getAntialias()Indicates whether the line will be antialiased in suitable (bitmapped) contexts.- Returns:
- true for antialiasing
-
getLegendIcon
Description copied from interface:StyleReturns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIconin interfaceStyle
-
createLineTracer
Convenience method to return a line tracer that will use this style.- Parameters:
g- graphics contextbounds- clip boundsnwork- workspace array sizeisPixel- if true graphics context is considered pixellised- Returns:
- new line tracer
-
equals
-
hashCode
-