| Constructor | Description |
|---|---|
ContourStyle(java.awt.Color color,
int nLevel,
double offset,
int nSmooth,
LevelMode levelMode) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.awt.Color |
getColor() |
Returns contour colour.
|
javax.swing.Icon |
getLegendIcon() |
Returns an icon suitable for displaying in a legend for this style.
|
int |
getLevelCount() |
Returns requested number of contours.
|
LevelMode |
getLevelMode() |
Returns level determination algorithm.
|
double |
getOffset() |
Returns the offset of the first contour from zero.
|
int |
getSmoothing() |
Returns smoothing kernel width.
|
int |
hashCode() |
public ContourStyle(java.awt.Color color,
int nLevel,
double offset,
int nSmooth,
LevelMode levelMode)
color - contour line colournLevel - number of contoursoffset - offset from zero of first contour;
should be in the range 0..1nSmooth - smoothing kernel widthlevelMode - level determination algorithmpublic java.awt.Color getColor()
public int getLevelCount()
public double getOffset()
public int getSmoothing()
public LevelMode getLevelMode()
public javax.swing.Icon getLegendIcon()
StylegetLegendIcon in interface Stylepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.