i just designed a south africa flag with rectangles and lines please who anyone help with how would i set colors for three lines that form a triangle pls help me with the codes.
Help with setting colors on lines2D
Collapse
X
-
You set the color during the drawing or filling. Set the color using the method g.setColor method of the Graphics classOriginally posted by luchylooi just designed a south africa flag with rectangles and lines please who anyone help with how would i set colors for three lines that form a triangle pls help me with the codes.
Code:g.setColor(java.awt.Color color); then g.draw/fillWhatever()
-
Originally posted by r035198xYou set the color during the drawing or filling. Set the color using the method g.setColor method of the Graphics class
Code:g.setColor(java.awt.Color color); then g.draw/fillWhatever()
thanx for ur mail but i could onlt fill the rectangles but not the lines of angles i have drawn i could only change the colors of the linesComment
Comment