October 19, 20205 yr So i can draw a rectangle, but it's just the outline. Id like to create a solid black rectangle so the paint is easier to read. ss of what it looks like now Code for rectangle I have currently g.setColor(new Color(0,0,0,255)); g.drawRect(15, 200, 300, 100);
October 19, 20205 yr 4 minutes ago, Fich420 said: So i can draw a rectangle, but it's just the outline. Id like to create a solid black rectangle so the paint is easier to read. ss of what it looks like now Code for rectangle I have currently g.setColor(new Color(0,0,0,255)); g.drawRect(15, 200, 300, 100); Rectangle t = new Rectangle(15, 200 ,300 ,100); g.fill(t);
October 19, 20205 yr Author google is my friend. Figured it out, apologies for creating. if anyone else is wondering, g.fillRect(15,200, 300, 100); Did what i was trying to do 1 minute ago, FuryShark said: Rectangle t = new Rectangle(15, 200 ,300 ,100); g.fill(t); thank you
October 19, 20205 yr Developer 1 hour ago, Fich420 said: google is my friend. Figured it out, apologies for creating. if anyone else is wondering, g.fillRect(15,200, 300, 100); Did what i was trying to do thank you Exactly! Just use Fill instead of draw
Create an account or sign in to comment