Package org.geotools.renderer.lite
Class GraphicsAwareDpiRescaleStyleVisitor
- Object
-
- DuplicatingStyleVisitor
-
- RescaleStyleVisitor
-
- DpiRescaleStyleVisitor
-
- GraphicsAwareDpiRescaleStyleVisitor
-
- All Implemented Interfaces:
StyleVisitor
public class GraphicsAwareDpiRescaleStyleVisitor extends DpiRescaleStyleVisitor
This class extendsDpiRescaleStyleVisitor
to add support for rescaling external graphics and marks whose size has not been explicitly set.Works properly as long as the expression in an eventual dynamic symbolizer are not setting the size of the symbol, as we don't have the feature here, and there is no way to know which bit of the url will setup the size
- Author:
- Andrea Aime - GeoSolutions
-
-
Field Summary
-
Fields inherited from class RescaleStyleVisitor
defaultUnit, scale
-
Fields inherited from class DuplicatingStyleVisitor
copyFilter, ff, pages, STRICT
-
-
Constructor Summary
Constructors Constructor Description GraphicsAwareDpiRescaleStyleVisitor(double scale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Expression
rescaleGraphicSize(Graphic gr)
-
Methods inherited from class DpiRescaleStyleVisitor
rescale, rescaleOption, rescaleOption
-
Methods inherited from class RescaleStyleVisitor
rescale, rescaleArrayOption, rescaleDashArray, visit, visit, visit, visit, visit, visit, visit, visit
-
Methods inherited from class DuplicatingStyleVisitor
copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyExpressions, copyFonts, getCopy, setStrict, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Method Detail
-
rescaleGraphicSize
protected Expression rescaleGraphicSize(Graphic gr)
- Overrides:
rescaleGraphicSize
in classRescaleStyleVisitor
-
-