• Post Reply Bookmark Topic Watch Topic
  • New Topic

Rectangle2D positioning

 
graham king
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I've been battling with the Rectangle2D object and its positioning within a JPanel and just can't seem to get it right.

Given the x,y of a Rectangle2D object and knowing its height and width,
would it be posible to determine the next x,y cordinate allowing for a side by side object placement?

Any suggestions would be great.

Thanks,

Graham
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!