Creating Pattern Brushes
Pattern brushes are a different animal from art brushes, requiring a little more setup and thought, but they can be as simple or as complex as you want to make them. Up to five "patterns" can be applied to each pattern brush. Each pattern can be applied to different parts of an object (see Figure 7):
- Outside corner
- Inside corner
- Straight part of a segment
- Beginning of a path
- End of a path
Each of these patterns typically starts its life in the Swatches panel. When you make a pattern brush, you select from the pattern swatches in the Swatches panel.
Figure 7 Parts of a pattern brush.
These details will make more sense once you've created a pattern brush, so let's get started:
- On the artboard, draw a square.
- Select the square and drag it into the Swatches panel (with the other swatches). Double-click the swatch in the Swatches panel to open the Swatch Options dialog box. Name the swatch square and click OK.
- Draw a straight horizontal line. Drag that line into the Swatches panel to create another swatch. Double-click the swatch in the Swatches panel and name it line in the Swatch Options dialog box (see Figure 8).
- Delete the line and square on the artboard.
- Make sure that nothing is selected. This step is important! If an object is selected, the brush will be made from that object. Click the New Brush button at the bottom of the Brushes panel. In the New Brush dialog box, select Pattern Brush and click OK. This action opens the Pattern Brush Options dialog box, where you can set the brush options.
- In the Pattern Brush Options dialog box, give the brush a name.
- Notice the five squares in the middle of the dialog box (see Figure 9). Each square relates to the part of the path or shape to which the brush will be applied. Position the pointer over each square to display its tool tip. Then click the Side Tile thumbnail and choose "line" in the list of patterns below the tile. Click the Start Tile thumbnail and choose "square" in the list. Finally, click the End Tile thumbnail and choose "square" again.
- Click OK in the Pattern Brush Options dialog box.
- Draw a line on the artboard and apply your new brush to the shape by clicking the brush in the Brushes panel (see Figure 10). Then draw a square and apply the brush. See how the corners are blank? The inside corner and outside corner tiles in the Pattern Brush Options dialog box control the corners of the path.
Figure 8 Creating the pattern swatches for the brush.
Figure 9 Creating the pattern brush.
Figure 10 The new pattern brush is applied to the line.
Now that you understand how to create and edit a few of the brush types, let's explore some real-world examples of working with brushes.