public class DpiRescaleStyleVisitor extends RescaleStyleVisitor
defaultUnit, scale
copyFilter, ff, pages, sf, STRICT
Constructor and Description |
---|
DpiRescaleStyleVisitor(double scale) |
DpiRescaleStyleVisitor(FilterFactory2 filterFactory,
double scale) |
Modifier and Type | Method and Description |
---|---|
protected Expression |
rescale(Expression expr)
Used to rescale the provided expr.
|
protected void |
rescaleOption(Map<String,String> options,
String key,
double defaultValue)
Rescales the specified vendor option
|
protected void |
rescaleOption(Map<String,String> options,
String key,
int defaultValue)
Rescales the specified vendor option
|
rescale, rescaleArrayOption, rescaleDashArray, rescaleGraphicSize, visit, visit, visit, visit, visit, visit, visit, visit
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
public DpiRescaleStyleVisitor(double scale)
public DpiRescaleStyleVisitor(FilterFactory2 filterFactory, double scale)
protected Expression rescale(Expression expr)
RescaleStyleVisitor
We do optimize the case where the provided expression is a literal; no sense doing a calculation each time if we don't have to.
rescale
in class RescaleStyleVisitor
protected void rescaleOption(Map<String,String> options, String key, double defaultValue)
RescaleStyleVisitor
rescaleOption
in class RescaleStyleVisitor
protected void rescaleOption(Map<String,String> options, String key, int defaultValue)
RescaleStyleVisitor
rescaleOption
in class RescaleStyleVisitor
Copyright © 1996–2019 Geotools. All rights reserved.