go to previous page   go to home page   go to next page

Answer:

drawLine( int x0, int y0, int x1, int y1)

Snowflake

Snowflake

Here is a picture of a snowflake. The picture was made by following the recursive scheme in chapter 70. The only drawing method used is the drawLine() method.

The full program that draws this snowflake will be seen further on in this chapter.


QUESTION 3:

The background of this picture is done by drawing a filled white rectangle the same size as the panel.

(Review: ) What method of Graphics selects a color?