Re: [OpenJDK 2D-Dev] Question about RectangularShape.getBounds() behaviour

2009-05-22 Thread Clemens Eisserer
Sorry, I should think before pressing send next time :-/ 2009/5/22 Clemens Eisserer : > Hi, > > I just noticed >> new Rectangle2D.Double(-19.9, 1, 20, 1).getBounds(); > returns > java.awt.Rectangle[x=-20,y=1,width=21,height=1] > > Is this behaviour intended? > Wouldn't -20 / 20 be large enough? >

[OpenJDK 2D-Dev] Question about RectangularShape.getBounds() behaviour

2009-05-22 Thread Clemens Eisserer
Hi, I just noticed > new Rectangle2D.Double(-19.9, 1, 20, 1).getBounds(); returns java.awt.Rectangle[x=-20,y=1,width=21,height=1] Is this behaviour intended? Wouldn't -20 / 20 be large enough? Thanks, Clemens