Teach Yourself Illustrator 7 in 24 Hours

Previous chapterNext chapterContents


- Hour 3 -
Drawing Basic Objects

Now the fun begins--you actually start drawing something. You start with the easy shapes, such as rectangles and ovals, moving up to polygons, stars, spirals, and freeform objects. One of the great things about Illustrator is that there is usually more than one way to accomplish the same thing. As you progress, you get a feel of when using one technique might be better in certain situations than another. Specifically, this hour covers:


Time Saver: Probably the most important thing about Illustrator--let me correct myself--the most important things about Illustrator are the modifier keys--Shift, (Option)[Alt], and (Command)[Control]. Using combinations of these keys when you are drawing with the mouse controls different options. It's important that you become familiar with these key combinations to the point where they become second nature, and you don't even think about them--you just do it.

Rectangles and Ellipses

The most primitive shapes, rectangles, and ellipses are also the easiest shapes to create in Illustrator. There are several ways of drawing these shapes, each a slight variant of the other, and as you work more in Illustrator, you get a better feel for when to use each method.

As we discussed in the first hour, Illustrator is a vector art program. A vector rectangle or ellipse consists of three things: a starting point, an ending point, and a center point. You define the start and end point and Illustrator calculates the center point for you automatically. They say the best way to learn is to do it yourself, so let's draw, shall we?

Drawing Rectangles

Let's start by drawing a rectangle.

1. Select the Rectangle tool (see Figure 3.1). Notice your cursor becomes a crosshair (see Figure 3.2).

Figure 3.1.

The Rectangle tool.

Figure 3.2.

The Rectangle tool's cursor.

2. Position your cursor where you want the upper-left corner of the rectangle to be.

3. Click the mouse button, but don't let go. Drag down and to the right, and release the mouse button (see Figure 3.3).

Figure 3.3.

Dragging to draw a rectangle.

Holding the Shift key while dragging forces your box, or constrains it, to be a perfect square--even on all sides. Throughout Illustrator, the Shift key is almost always the constrain key. Using it often takes the guesswork out of creating and manipulating your illustrations, as Illustrator does the work for you.

Using the Rounded Rectangle Tool

A rounded rectangle is one where the corners don't come to a point but are rounded. Now let's draw a rounded rectangle.

1. Select the Rounded Rectangle tool (see Figure 3.4).

Figure 3.4.

The Rounded Rectangle tool.

2. Position your cursor where you want the upper-left corner of the rounded rectangle to be.

3. Click the mouse button, but don't let go. Drag down and to the right (see Figure 3.5), and release the mouse button.

Figure 3.5.

Dragging to draw a rounded rectangle.

Holding the Shift key while dragging forces your rounded rectangle to have four even sides. To change the corner radius of the rounded rectangle, see "Drawing Rectangles Numerically," later in this hour.

Drawing Out From the Center

Until now, we have been drawing our shapes by starting from the upper-left corner and dragging to the lower-right corner. Illustrator can also draw shapes out from the center.

1. Select the Centered Rectangle tool (see Figure 3.6). Notice your cursor has changed to centered cross hairs (see Figure 3.7).

Figure 3.6.

The Centered Rectangle tool.

Figure 3.7.

The Centered Rectangle tool's cross-hair cursor.

2. Position your cursor where you want the center of your rectangle to be.

3. Click the mouse button, but don't let go. Drag outwards (see Figure 3.8) and release the mouse button.

Figure 3.8.

Dragging to draw a rectangle out from the center.

The same technique applies to the Centered Rounded Rectangle tool (see Figure 3.9).

Figure 3.9.

The Centered Rounded Rectangle tool.


Time Saver: If you have the Rectangle tool selected and you want to draw a box out from the center, hold down the (Option)[Alt] key before dragging. See how your cursor changes between the regular and centered cross hairs.

Drawing Rectangles Numerically

The previously mentioned ways of drawing a box are great when you want to draw something freely, but there are many times when you need to create a rectangle or square with exact proportions.

1. Select the desired rectangle creation tool.

2. Click the screen and let go of the mouse button. Illustrator presents you with a dialog box (see Figure 3.10).

Figure 3.10.

Drawing a rectangle numerically.

3. Enter the width and height (and corner radius if necessary) and click OK.

Depending on which tool you have selected, Illustrator draws the shape from either the center or the upper-left corner of where you clicked. Again, you can use the (Option)[Alt] key to quickly toggle between these two modes.

Ellipses

Ellipses (also known as ovals or circles) are slightly different than the rectangles we've been drawing. Whereas a rectangle is made up of four straight line segments, a circle is made up of four curved segments. In Hour 6, "Drawing Bézier Paths," we talk more in detail about straight and curved segments. Actually, drawing an ellipse in Illustrator is very similar to drawing a rectangle.

Now let's draw an ellipse.

1. Select the Ellipse tool (see Figure 3.11). Notice your cursor becomes a crosshair (see Figure 3.12).

Figure 3.11.

The Ellipse tool.

Figure 3.12.

The cursor for the Ellipse tool.

2. Position your cursor where you want the upper-left edge of the ellipse to be.

3. Click the mouse button, but don't let go. Drag down and to the right and release the mouse button (see Figure 3.13).

Figure 3.13.

Dragging to draw an ellipse.

Holding the Shift key while dragging constrains your ellipse to a perfect circle.

Drawing Out from the Center

You can also draw a circle from its center point.

1. Select the Centered Ellipse tool (see Figure 3.14). Notice your cursor has changed to centered crosshairs (see Figure 3.15).

Figure 3.14.

The Centered Ellipse tool.

Figure 3.15.

The cursor indicating the Centered Ellipse tool is selected

2. Position your cursor where you want the center of your ellipse to be.

3.
Click the mouse button, but don't let go. Drag outwards and release the mouse button (see Figure 3.16).

Figure 3.16.

Dragging to draw an ellipse out from the center.

Drawing an Ellipse Numerically

As with the rectangles, you can create an ellipse numerically.

1. Select the desired ellipse creation tool.

2. Click the screen and let go of the mouse button. Illustrator presents you with a dialog box (see Figure 3.17).

3. Enter the width and height and click OK.

Figure 3.17.

Creating an ellipse numerically.


Depending on which tool you have selected, Illustrator draws the shape from either the center or the upper-left of where you clicked. Again, use the (Option)[Alt] key to quickly toggle between these two modes.

Great! Now that we can draw primitive shapes such as rectangles and ovals, let's move on to drawing more complex shapes. Of course, after you create a shape in Illustrator, you can edit it in all sorts of ways. We get to editing and transformations in Hours 7 and 12.

Drawing Other Shapes

The next three creation tools are really cool. They first appeared in Illustrator 6 as plug-in tools, in their own little palette. Now they are fully integrated into the interface (grouped with the Ellipse tool in the Toolbox), with all of their coolness intact. The three tools are the Polygon tool, the Star tool, and the Spiral tool. These interactive tools create complex shapes in a fraction of the time it would take to draw them manually.

The Polygon Tool

The Polygon tool is used to create shapes such as triangles, pentagons, and octagons (for those of you who like making stop signs).

1. Select the Polygon tool (see Figure 3.18). Notice the cursor is now a different, smaller crosshairs (see Figure 3.19).

Figure 3.18.

The Polygon tool.

Figure 3.19.

The cursor, indicating the Polygon tool is selected.

The Polygon tool always draws out from the center. Click the mouse button, and drag outwards (see Figure 3.20). Do not let go of the mouse button until the last step of this exercise.

Figure 3.20.

Dragging to draw a polygon.

3. Rotate the polygon by moving your mouse in a circular motion (see Figure 3.21).

Figure 3.21.

Rotating the polygon in real time as you're creating it.

4. Add more sides to the polygon by pressing the up arrow key on your keyboard (see Figure 3.22). If you hold the key down, it adds sides repeatedly.

Figure 3.22.

Adding sides to your polygon.

5. Remove sides from the polygon by pressing the down arrow key on your keyboard (see Figure 3.23). Holding the key removes sides repeatedly.

Figure 3.23.

Removing sides from your polygon.

6. To keep the polygon straight (constrained at 90deg. or whatever the Constrain Angle is set to in Preferences), press the Shift key.

7. Press the Spacebar, and the polygon "freezes," enabling you to move the mouse and position the polygon on the page.

8. The tilde key (~) creates duplicates of the polygon as you drag and move it.

9. Release the mouse button.

You can use any combination of the modifier keys simultaneously as you create your polygon.

Creating a Polygon Numerically

You can also create a polygon numerically.

1. Select the Polygon tool.

2. Click the mouse button. Illustrator presents you with a dialog box (see Figure 3.24).

Figure 3.24.

Creating a polygon numerically.

3. Enter the radius size and the number of sides.

4. Click OK.

The Star Tool

The Star tool is one of the great time-savers. It used to be a real drag to create stars and starbursts--now it really is just a drag!

1. Select the Star tool (see Figure 3.25).

Figure 3.25.

The Star tool.

2. Stars are always drawn from the center. Click the mouse button and drag outwards (see Figure 3.26). Do not let go of the mouse button until the end of this exercise.

Figure 3.26.

Dragging to create a star.

3. Rotate the star as you are dragging it by moving the mouse in a circular motion (see Figure 3.27).

Figure 3.27.

Rotating the star in real time, as you draw it.

4. Press the up arrow key to add points to the star (see Figure 3.28).

Figure 3.28.

Adding points to your star.

5. Press the down arrow key to remove points from the star (see Figure 3.29).

Figure 3.29.

Removing points from your star.

6. Press the Shift key to keep the star straight and aligned with the baseline.

7. Press the (Option)[Alt] key to align the segments on either side of each point-- the point's shoulders--with each other so that they form a straight line (see Figure 3.30).

Figure 3.30.

Aligning the shoulders on your star.

8. Press the (Command)[Control] key to adjust the inner radius of the star (see Figure 3.31). This controls how "pointy" the star is.

Figure 3.31.

Changing the inner and outer radius with the (Command)[Control] key.

9. Press and hold the Spacebar to "freeze" the star, and position it on the page.

10. Press the tilde key to make numerous copies of your star as you drag (see Figure 3.32).

Figure 3.32.

This was created by holding down the Option, Shift, Spacebar, and tilde keys simultaneously, while dragging the mouse.

You can use any combination of the modifier keys simultaneously as you create your star.

Creating a Star Numerically

You can also create a star numerically.

1. Select the Star tool.

2. Click the mouse and release the button to bring up the dialog box shown in Fig- ure 3.33.

Figure 3.33.

Drawing a star numerically.

3. Enter values for the outer and inner radius (Radius 1 and 2, respectively) and the number of points. The outer radius, Radius 1, is where the points facing outwards extend to, whereas the inner radius, Radius 2, is where the points facing inward extend to.

4. Click OK.

The Spiral Tool

There was a time when drawing spirals was very difficult, but it's easy now thanks to the Spiral tool. By simply clicking and dragging, you can create interesting spirals while controlling the number of winds (how many times it goes around) and attributes, such as whether the spiral goes clockwise or counterclockwise. Do not confuse the Spiral tool with the Twirl tool, which looks similar. We'll cover the Twirl tool later in the book.

1. Select the Spiral tool (see Figure 3.34).

2. Spirals are always drawn from the center. Click the mouse button and drag outwards (see Figure 3.35). Do not let go of the mouse button until the end of this exercise.

Figure 3.34.

The Spiral tool.

Figure 3.35.

Dragging to create a spiral.

3. Rotate the spiral as you are dragging it by moving the mouse in a circular motion (see Figure 3.36).

Figure 3.36.

Rotating the spiral as you draw.

4. Press the up arrow key to add segments (or winds) to the spiral (see Figure 3.37).

Figure 3.37.

Adding segments to your spiral.

Figure 3.38.

Removing segments from your spiral.

5. Press the down arrow key to remove segments from the spiral (see Figure 3.38).

6. Press the Shift key to constrain the rotation of the spiral to 45 degree increments.

7. Press the (Option)[Alt] key to control the style of the spiral. This determines whether the winds go to the right or the left.

8. Press the (Command)[Control] key to adjust the decay of the spiral (see Figure 3.39). This controls how far "into the distance" the spiral goes.

Figure 3.39.

Adjusting the decay of the spiral with the (Command)[Control] Key.

9. Press and hold the Spacebar to "freeze" the spiral, and position it on the page.

10. Pressing the tilde key makes numerous copies of your spiral as you drag (see Figure 3.40).

Figure 3.40.

Many spirals can look like waves.

You can use any combination of the modifier keys simultaneously as you create your spiral.

Creating a Spiral Numerically

You can also create a spiral numerically.

1. Select the Spiral tool.

2. Click the mouse and release the button to bring up the dialog box shown in Fig- ure 3.41.

Figure 3.41.

Creating a spiral numerically.

3. Enter values for the radius, decay, and segments and choose a style (clockwise or counterclockwise).

4.
Click OK.

The Paintbrush Tool

Until now, we have been drawing predefined, symmetrical shapes. Now we move into the world of freedom--creating freeform shapes with the Paintbrush tool (see Figure 3.42).

Figure 3.42.

The Paintbrush tool.

Drawing with the Paintbrush tool is easy. Just select the tool, press the mouse button, and drag. Let go of the mouse button as you complete each stroke in your drawing.

The Paintbrush is actually creating a filled object in the shape you draw.

When using the Paintbrush, there are several options that can change the way your drawing looks. Double-click the Paintbrush tool in the Toolbox, and Illustrator presents you with the Paintbrush Options dialog box (see Figure 3.43).

Figure 3.43.

The different options available with the Paintbrush tool. Variable width is grayed out if you do not have a pressure-sensitive tablet installed.

You can give the Paintbrush a calligraphic style for effect (see Figure 3.44). You can also change the line caps and joins (see Figure 3.45). But the most powerful feature of the Paintbrush tool is the ability to change the width of your shapes. If you have a pressure-sensitive drawing tablet, you can set a variable width, and the harder you press as you draw, the thicker your shape is (see Figure 3.46). If you do not have a pressure-sensitive tablet, you are only able to set a fixed width.

Figure 3.44.

This shape was created in one stroke, with the Paintbrush's calligraphic option turned on.

Figure 3.45.

The top shape was created with rounded caps and rounded joins, while the lower shape was created with square caps and mitered joins.

Save Your Work

No doubt, after this lesson, you created a masterpiece that you want to keep forever, so let's save your work.

1. Choose Save from the File menu,

2. Give the file a name and click OK.

You just learned to save a file. The very nature of a computer is to crash when you least expect it to, and when you are relying on it most. It's a good idea to get into the habit of saving your files frequently and keeping backups of them in case you lose them or they become corrupt.

Figure 3.46.

Using the Variable Width setting with a pressure-sensitive tablet, you can create a shape with natural-looking, hand-drawn thicks and thins.

Summary

Your feet are definitely wet, as you learned to draw simple shapes. You had fun creating polygons and using the Paintbrush tool, and you learned the power of using the modifier keys as you draw. Next, you begin to learn to edit and manipulate the shapes you created today.

Term Review

Modifier keys--The Shift, Control, (Option)[Alt], and (Command)[Control] keys found on your keyboard.

Corner radius--The amount of curve at the corners of a rounded rectangle.

Interactive tools--Tools that let you change options on-the-fly as you are drawing with them.


Previous chapterNext chapterContents


© Copyright, Macmillan Computer Publishing. All rights reserved.