Constructor and Description |
---|
ContourStyle(Color color,
int nLevel,
double offset,
int nSmooth,
int thickness,
LevelMode levelMode,
Combiner combiner)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Color |
getColor()
Returns contour colour.
|
Combiner |
getCombiner()
Returns the combination mode.
|
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 |
getThickness()
Returns line thickness.
|
int |
hashCode() |
public ContourStyle(Color color, int nLevel, double offset, int nSmooth, int thickness, LevelMode levelMode, Combiner combiner)
color
- contour line colournLevel
- number of contoursoffset
- offset from zero of first contournSmooth
- smoothing kernel widththickness
- line thicknesslevelMode
- level determination algorithmcombiner
- combination modepublic Color getColor()
public int getLevelCount()
public double getOffset()
public int getSmoothing()
public int getThickness()
public LevelMode getLevelMode()
public Combiner getCombiner()
public Icon getLegendIcon()
Style
getLegendIcon
in interface Style
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.