| Modifier and Type | Field and Description |
|---|---|
protected double |
maxScale
Maximum scale at which the geometry has to be painted with this style
|
protected double |
minScale
Minimum scale at which the geometry has to be painted with this style
|
| Constructor and Description |
|---|
Style() |
| Modifier and Type | Method and Description |
|---|---|
Style |
clone() |
double |
getMaxScale()
Gets the maximum scale at which the geometry has to be painted with this style (inclusive)
|
double |
getMinScale()
Gets the minimum scale at which the geometry has to be painted with this style (inclusive)
|
boolean |
isScaleInRange(double scale)
Checks whethere the style should be used for painting at scale
scale |
void |
setMinMaxScale(double minScale,
double maxScale)
Sets minimum and maximum scale, and performs integrity checks on these value (will throw and
IllegalArgumentException in minScale > maxScale)
|
protected double maxScale
protected double minScale
public double getMaxScale()
public double getMinScale()
public void setMinMaxScale(double minScale,
double maxScale)
minScale - maxScale - IllegalArgumentException - DOCUMENT ME!public boolean isScaleInRange(double scale)
scalescale - The scale queriedscale is whithin the scale range of this style (false
otherwise)Copyright © 1996–2019 Geotools. All rights reserved.