a static method to scale a shape with respect to the lower left hand corner of its bounding box . concode_field_sep PlaceHolder placeHolder concode_field_sep Shape verticallyFlippedCopyOf concode_elem_sep Shape horizontallyFlippedCopyOf concode_elem_sep Shape rotatedCopyOf concode_elem_sep Shape scaledCopyOf concode_elem_sep Shape translatedCopyOf
Shape function ( Shape arg0 , double arg1 , double arg2 ) { AffineTransform loc0 = new AffineTransform ( ) ; Rectangle2D loc1 = arg0 . getBounds2D ( ) ; double loc2 = loc1 . getX ( ) ; double loc3 = loc1 . getY ( ) + loc1 . getHeight ( ) ; loc0 . translate ( loc2 , loc3 ) ; loc0 . scale ( arg1 , arg2 ) ; loc0 . translate ( - loc2 , - loc3 ) ; return loc0 . createTransformedShape ( arg0 ) ; }