[OpenJDK 2D-Dev] Question about RectangularShape.getBounds() behaviour
Clemens Eisserer
linuxhippy at gmail.com
Fri May 22 17:46:55 UTC 2009
Sorry, I should think before pressing send next time :-/
2009/5/22 Clemens Eisserer <linuxhippy at gmail.com>:
> 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
>
More information about the 2d-dev
mailing list