Class SphereGridPlotter.GridStyle
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.SphereGridPlotter.GridStyle
- All Implemented Interfaces:
Style
- Enclosing class:
- SphereGridPlotter
Style class for sphere grid plotter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns an icon suitable for displaying in a legend for this style.int
hashCode()
-
Constructor Details
-
GridStyle
public GridStyle(Color color, double radius, int thick, int pixgap, int nlon, int nlat, double bgFade) Constructor.- Parameters:
color
- basic grid colourradius
- radius of sphere in data unitsthick
- line thicknesspixgap
- pixel gap for dotted linesnlon
- number of longitude linesnlat
- number of latitude lines per hemispherebgFade
- fading amount to generate background colour
-
-
Method Details