1 Attachment(s)

How to think about this Graphics problem

I want help with this Graphics problem. I don't want a solution or code. I want to know how to think about it and how to search java documentation to find, for example, a method that draws a rectangle. So again I don't want the code to do it. I just want to know how to think about it

Attachment 2711

Re: How to think about this Graphics problem

Re: How to think about this Graphics problem

Quote:

Originally Posted by

**AmrGamal**
I want help with this Graphics problem. I don't want a solution or code. I want to know how to think about it and how to search java documentation to find, for example, a method that draws a rectangle. So again I don't want the code to do it. I just want to know how to think about it

Attachment 2711

You're basically looking at three different elements.

Learn to make the individual brick.

Make the bottom row of bricks "n" wide.

Make each consecutive row "n-1" narrower and centered.

Chris