Applying Additional Fills and Strokes

Applying Additional Fills and Strokes

Using the flyout menu in the Appearance palette, you can add additional fills and strokes. With this feature, you can put different colored fills on top of each other and individually apply effects to each one, creating really interesting and creative results.

Just for fun, follow along to see what you can do to a single object with the Appearance palette:

  1. Create a star shape.

    It doesn’t matter how many points it has, or how large it is, just make it large enough to work with.

  2. Use the Window®Swatches palette to fill it with yellow and give it a black stroke.

  3. Use Window®Stroke to make the stroke 1 pt.

    Notice that in the Appearance palette, the present fill and stroke are listed. Even in the simplest form, the Appearance palette helps track basic attributes. You can easily take advantage of the tracking to apply effects to just a fill or a stroke.

  4. Click Stroke in the Appearance palette.

  5. Choose Effect®Path®Offset Path and in the Offset Palette dialog box that appears, change the Offset to –5pt and select the Preview check box.

    Notice that the stroke moves into the fill instead of on the edge, as shown in Figure.

    Click To expand
    Figure: Choose to just offset the stroke and not the fill.

  6. Change the offset to something that works with your star shape and click OK.

    Depending on the size of your star, you might want to adjust the amount of offset up or down.

  7. From the flyout menu of the Appearance palette (see Figure), choose to add an additional fill to the star shape.

    Click To expand
    Figure: Add additional fills to the same object by using the Appearance palette menu.

    This might sound ridiculous, but you can create some super effects with multiple fills.

  8. Click Fill in the Appearance palette (the top one) and choose Effect ®Distort and Transform.

  9. In the Twist dialog box that appears (see Figure), type 45 into the Angle text field and select the Preview check box.

    Click To expand
    Figure: Using Effects to twist just the new fill.

    Notice how only the second fill is twisted? Pretty neat right? But wait, there’s more!

  10. Click OK to exit the Twist dialog box.

  11. Select the top Fill from the Appearance palette again.

    You always have to be sure that they are selected before doing anything that is meant to change just a specific fill or stroke.

  12. Then, using the Transparency palette (Window®Transparency), choose 50% from the Opacity drop-down list or simply type 50% in the Opacity text field.

    Now you can see your original shape through the new fill!

  13. With that top fill still selected, change the color, or assign a pattern for a really different appearance, like the example shown in Figure.

    Click To expand
    Figure: The added fill is made slightly transparent and has a pattern applied to it.

You could go on for hours playing around with combinations of fills and strokes. Hopefully, this clicks and you can take it further on your own.

 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows