public MapBounds getRotatedBoundsAdjustedForPreciseRotatedMapSize ( ) { Rectangle2D . Double paintAreaPrecise = getRotatedMapSizePrecise ( ) ; Rectangle paintArea = new Rectangle ( MapfishMapContext . rectangleDoubleToDimension ( paintAreaPrecise ) ) ; return getRotatedBounds ( paintAreaPrecise , paintArea ) ; }
Return the map bounds rotated with the set rotation . The bounds are adapted to rounding changes of the size of the set paint area .