Java - complex Shapes

Started by
0 comments, last by brody 18 years, 1 month ago
Hello, I'm trying to make a tilt maze using java. I want to make the bounds of the maze one contained object, instead of a whole bunch of smaller rectangles. So if anyone understands what I'm talking about, then how can I accomplish this?
Advertisement
Nevermind, I will answer my own question with the slim possiblity that someone else needs to know.

I found out I need to make a GeneralPath object. Then I use the methods moveTo() and lineTo() to make the outline of whatever shape I need.

This topic is closed to new replies.

Advertisement