Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.22 seconds.

  1. Replies
    5
    Views
    2,453

    Re: Combining Shapes + Text

    Well, you could give each Object a contains() method as well.




    Path2D (Java Platform SE 6)
  2. Replies
    5
    Views
    2,453

    Re: Combining Shapes + Text

    Instead of having each Object return a Shape that is then drawn, why not give each Object a draw(Graphics2D g) method, then let each of them draw itself? Then in your paintComponent(Graphics g)...
Results 1 to 2 of 2