Constructor | Description |
---|---|
ContourStyle(java.awt.Color color,
int nLevel,
double offset,
int nSmooth,
LevelMode levelMode,
Combiner combiner) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.awt.Color |
getColor() |
Returns contour colour.
|
Combiner |
getCombiner() |
Returns the combination mode.
|
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, Combiner combiner)
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 algorithmcombiner
- combination modepublic java.awt.Color getColor()
public int getLevelCount()
public double getOffset()
public int getSmoothing()
public LevelMode getLevelMode()
public Combiner getCombiner()
public javax.swing.Icon getLegendIcon()
Style
getLegendIcon
in interface Style
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.