Point2D getCenter ( ) { final Rectangle2D bounds = getBounds ( ) ; return new Point2D . Double ( bounds . getCenterX ( ) , bounds . getCenterY ( ) ) ; }
Access the transformed center of the whole outline .