- ScalebarGenerator - Class in ch.so.agi.oereb.pdf4oereb.saxon.ext
-
This utility generates an image presenting a scalebar of the map based in the give scale.
It
can be customized to apply different colors for segments (even, uneven) height, margins, text
colors.
- ScalebarGenerator() - Constructor for class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Constructor
- setColorBorderSegment(Color) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
A color for the border of the segment.
- setColorSegmentEven(Color) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Set color for the even segments.
- setColorSegmentUneven(Color) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Set color for the uneven segments.
- setColorText(Color) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Sets color for the texts used.
- setDrawScaleText(boolean) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Controls whether the scale is displayed on top of the scale bar or not
- setHeight(int) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Sets the height of the entire image.
- setLayerImage(BufferedImage) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.MapImage
-
- setLayerIndex(int) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.MapImage
-
- setLayerOpacity(double) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.MapImage
-
- setLrbMargin(int) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Sets the margin for the left, right and bottom of the control.
- setNumberOfSegments(int) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Sets the number of segments to be displayed in the scalebar.
- setTextFont(Font) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Sets the font of the texts used.
- setTopMargin(int) - Method in class ch.so.agi.oereb.pdf4oereb.saxon.ext.ScalebarGenerator
-
Sets the size of the margin above the scale bar.