View Full Version : [Java] Help with graphics

02-23-2005, 09:39 PM
Hey everbody,, I'm new here :)
Anyways,, I'm having a problem with Java which I can't solve on my own

I want to make a square made out of 4 triangles (Polygons)
one of them is gray the other is white (I can do these;))
The other two I want to stripe respectively horizontal and vertical,
I don't want to do this with drawLines, but via some other method,,
maybe by including a picture inside of the polygon,, but that's where
my trail ends...

I can't figure out how to do this,, I got so far that I tried Java2D
But still I'm hanging on the code and isn't there a way how I can draw inside
of the polygon

I need help!! :(