| java.lang.Object org.geotools.renderer.style.Style
All known Subclasses: org.geotools.renderer.style.Style2D,
Style | abstract public class Style (Code) | | Base class for resolved styles. Styles are resolved according a particular rendering context.
The base class make no assumption about the output device (AWT, SWT, etc.). However, a
particular output device may need to be choosen for concrete subclasses, for example
Style2D for targeting Java2D.
version: $Id: Style.java 20874 2006-08-07 10:00:01Z jgarnett $ |
maxScale | protected double maxScale(Code) | | Maximum scale at which the geometry has to be painted with this style
|
minScale | protected double minScale(Code) | | Minimum scale at which the geometry has to be painted with this style
|
getMaxScale | public double getMaxScale()(Code) | | Gets the maximum scale at which the geometry has to be painted with this style (inclusive)
- the maximum painting scale |
getMinScale | public double getMinScale()(Code) | | Gets the minimum scale at which the geometry has to be painted with this style (inclusive)
- the minimum painting scale |
isScaleInRange | public boolean isScaleInRange(double scale)(Code) | | Checks whethere the style should be used for painting at scale scale
Parameters: scale - The scale queried True if scale is whithin the scale range of this style (falseotherwise) |
setMinMaxScale | public void setMinMaxScale(double minScale, double maxScale)(Code) | | Sets minimum and maximum scale, and performs integrity checks on these value (will throw
and IllegalArgumentException in minScale > maxScale)
Parameters: minScale - Parameters: maxScale - throws: IllegalArgumentException - DOCUMENT ME! |
|
|