27. Transparency

Image

The objects in our environment have various densities depending on the type of material they’re made of, and may also look different depending on how much light is filtering through or reflecting off them. Take a minute to study the shade on a lamp. You might say “The shade is white” when you describe it simply, but upon closer inspection, you may notice that rather than being a dense, uniform color, it contains several permutations of white. And if the bulb is switched on, the shade will look semitransparent rather than opaque.

By using Illustrator’s transparency controls, you can add a touch of realism to your drawings. If you were to draw a window, for example, you could add a tinted, semisheer, diaphanous curtain on top of it. Draw some autumn leaves, and you could lower their opacity to make them look semitransparent. Abstract designs can be enhanced by opacity variations, too.

Changing an object’s opacity or blending mode

You can change the opacity of any kind of object, even editable type. You can also choose a blending mode for any object to control how its colors blend with the colors in the underlying objects. Objects that you add to a group or layer adopt the transparency settings of that group or layer. The opacity and blending mode controls in Illustrator are chosen from the Transparency panel.Image A You can open this panel via the Window menu, or access it temporarily via the Opacity link on the Control panel or Appearance panel.

Image

A The controls on the Transparency panel

To change the opacity or blending mode of an object, group, or layer:

1. Do one of the following:

On the Layers panel,Image click the selection area or the target circle for an object, type, or placed image for which you want to change the transparency settings.A–B To edit the attributes of all the objects in a group or layer, click the target circle for that entity.

Image

A This is the original artwork.

Image

B On the Layers panel, we are clicking the target circle for the type object.

With the Selection tool,Image select or isolate one or more objects in the document.

Select some type characters with a type tool. (To change the opacity of just the fill or stroke of type, see the second task on the next page.)

2. Do either of the following:

To change the opacity, enter or choose an Opacity percentage on the Control panel.

To change the opacity and/or blending mode, either click the Opacity link on the Control or Appearance panel to open a temporary Transparency panel or display the Transparency panel.Image The contents of the selected or targeted layer, group, or object display in the thumbnail on the panel. Choose from the Blending Mode menu and/or change the Opacity setting C–D (and A–B).

Image

C We clicked the Opacity link on the Appearance panel to display a temporary Transparency panel, then chose Multiply as the blending mode and an opacity of 30%.

Image

D This is the result.

Image

A We selected an object.

Image

B We lowered the opacity of the object’s fill.

Image To adjust the opacity in the Transparency panel, do one of the following: type a value in the Opacity field, click the arrow to the right of the Opacity field and choose a value, or use a trackpad or the mouse.Image

To change the opacity or blending mode of an object’s fill or stroke:

1. On the Layers panel, click the target circle for an object.A (For a type object, follow the next set of instructions instead.)

2. On the Appearance panel,Image expand the Fill or Stroke listing, then click Opacity to open a temporary Transparency panel. Change the Opacity B or Blending Mode setting.

If you want to change the opacity of the stroke on a type object separately from the fill, or vice versa (while keeping the type editable), follow these steps.

To change the opacity or blending mode of the fill or stroke in type:

1. Select an editable type object using the Selection tool or the Layers panel.C You’re going to add an extra fill and stroke attribute, so make sure the type is large enough for both of those attributes to be visible.

Image

C All of the type objects in this artwork have an opacity of 100%.

2. At the bottom of the Appearance panel, click the Add New Fill button Image or press Cmd-/; Ctrl-/. A new fill attribute and stroke attribute are created.

3. Click the Fill color square and choose a fill color. Double-click the Stroke color square and choose a stroke color; also use the controls on the panel to adjust the Stroke Weight.

4. Double-click Characters on the Appearance panel. All the characters in the object will become selected.

5. Click the Fill listing on the Appearance panel, then click the Delete Selected Item button Image; do the same for the Stroke listing. Now the fill and stroke of the Characters have a setting of None.

6. Click the Type listing at the top of the Appearance panel.

7. Expand the new Fill or Stroke listing, click the Opacity link, then change the Blending Mode menu and/or the Opacity setting.D

Image

D We reduced the fill opacity of the “0” object to 30%, but kept the opacity of its stroke at 100%.

Controlling which objects the transparency settings affect

If you apply a blending mode to multiple selected objects, that mode becomes an appearance attribute for each object. In other words, the objects blend with one another and with any objects that are stacked below them. By applying the Isolate Blending option to a group, as in the instructions below, you can seal a collection of objects so they blend with one another but not with any underlying objects.

Note: The Isolate Blending option affects blending, not opacity. Whether this option is on or off, underlying objects will show through any objects in the artwork that aren’t fully opaque.

To restrict a blending mode to specific objects:

1. On the Layers panel,Image expand the listing for a group of objects. Apply different blending modes (other than Normal) to all or some of the objects.A Click the target circle for the group. Note: To see the effect of this option, stack an object behind the group.

Image

A The original objects consist of a pattern fill in a rectangle, which is stacked below a group of rectangles. The blending mode and opacity setting of each rectangle are interacting with all the underlying layers.

2. On the Transparency panel Image (with full options showing), check Isolate Blending.B (If this option isn’t visible, click the double arrowhead on the panel tab.) Nested objects within the targeted group will now blend with one another, but not with any objects below them.

Image

B We checked Isolate Blending for the group of rectangles. Now the blending modes are affecting only the objects within that group. (Note that where objects in the group don’t overlap one another, you can still see through them to the underlying pattern.)

Note: To reverse the effect, retarget the group, then uncheck Isolate Blending.

Image This option can also be applied to an individual targeted layer.

The Knockout Group option on the Transparency panel controls whether objects in a group or layer will show through (knock out) one another in the areas where they overlap. This option affects only objects within the same targeted group or layer.

To knock out objects:

1. Nest some objects within the same group or layer and arrange them so they partially overlap one another.

2. So you will be able to see how the Knockout Group option works, target some or all of the nested objects individually, then apply an opacity value below 100% and/or apply a blending mode other than Normal.

3. On the Layers panel,Image target the group or layer that the objects are nested within.A

Image

A The Knockout Group option is off for the group of rectangles (and Isolate Blending is also unchecked).

4. On the Transparency panel,Image click the Knockout Group box once or twice, until a check mark displays.B With this option checked, objects nested in the group won’t show through one another, but you will still be able to see through any semitransparent objects in the group to underlying objects.

Image

B We checked the Knockout Group option. The rectangles are no longer transparent or blend with one another (but they still blend with the underlying pattern).

Note: To turn off the Knockout Group option at any time, target the group or layer to which the option is applied, then click the Knockout Group box once or twice until the check mark disappears.

Image ct all the objects in your artwork that have the same blending mode or opacity, select an object that contains the attribute you’re looking for, then choose Select > Same > Blending Mode or Opacity.

Creating an opacity mask

Via the Transparency panel, you can apply the grayscale equivalent of a solid color or gradient colors in an object as an opacity setting to underlying objects. Black applies 0% opacity; white applies 100% opacity.

To create an opacity mask:

1. On the Layers panel,Image stack an object to be used as a mask above one or more other objects. To that object, apply solid gray, a solid color, a gradient, or pattern fill, and keep it selected. Note: If you want to have more control over the resulting opacity level, apply a fill of gray (try 20% to 50% gray).

2. Via the Layers panel or the Selection tool, select the mask object and the objects to be masked.A

Image
Image

A We selected several objects, including an object containing 50% gray, which is on top, then clicked the Make Mask button. (The bottommost tan object wasn’t selected.)

3. On the Transparency panel,Image click Make Mask.B If you selected three or more objects, and they weren’t already in a group, Illustrator will put them into one. On the Layers panel, a dashed or solid underline will display below the Path or Group listing for the opacity mask.

Image
Image

B Illustrator applied the grayscale value of the mask object (shown in the mask thumbnail) as an opacity value to the masked objects. (The underlying tan object remains visible because it isn’t in the mask.)

4. Optional: To stop the masking object from clipping the masked objects, uncheck Clip.C

Image

C We unchecked the Clip option on the Transparency panel. The opacity mask is still in effect, except now areas of masked objects that extend beyond the mask are visible.

Image To set a default so the Clip option is on for new opacity masks, check New Opacity Masks Are Clipping on the Transparency panel menu.

Editing masked artwork or the masking object in an opacity mask

To edit masked artwork in an opacity mask:

With the Selection tool,Image click the masked artwork in the document. On the Transparency panel,Image click the left thumbnail,A then do either of the following:

Image

A To edit masked artwork, select it, then click the left thumbnail on the Transparency panel.

With the Selection tool,Image double-click the masked artwork to put it into isolation mode. Edit any of the objects, then exit isolation mode. You can also add objects to the mask.

On the Layers panel, click the selection square for one or more masked objects (or for the whole group, if any),B then apply edits.

Image

B With the left thumbnail clicked on the Transparency panel, only the masked objects (not the masking object) are listed on the Layers panel.

Image To disable a selected opacity mask temporarily, Shift-click the mask thumbnail on the Transparency panel (a red X appears on the thumbnail).C Repeat to re-enable the mask.

Image

C This opacity mask is disabled.

To edit the masking object in an opacity mask:

1. With the Selection tool,Image click the masked artwork in the document.

2. On the Transparency panel,Image click the opacity mask thumbnail (on the right).

3. Select the masking object via the Selection tool or the Layers panel.A

Image

A When the mask thumbnail is clicked on the Transparency panel, only the masking object is listed on the Layers panel.

4. Edit any attribute of the object, such as its shape or fill, or for a gradient, edit its gradient settings.B Note that the actual fill of a masking object doesn’t display. You can also lower the opacity value of the masking object to alter the opacity of the masked artwork.

Image

B If you select a masking object that contains a gradient, then click the Gradient tool, you can move or modify any of the stops on the annotator to control what opacity levels are applied to the masked artwork.

5. On the Transparency panel, click the left thumbnail.

Image To display just the masking object in grayscale in the document, hold down Option/Alt and click the mask thumbnail on the Transparency panel. To redisplay the artwork in color, click the left thumbnail.

Image To reposition one object in an opacity mask, drag it with the Direct Selection tool. To reposition all the masked objects separately from the masking object, click the artwork with the Selection tool, click the Link icon Image on the Transparency panel, then drag the artwork in the document. When you’re done, click the icon Image to restore the link.

To release an opacity mask:

1. Via the Selection tool or the Layers panel, select an opacity mask.

2. On the Transparency panel, click Release.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.188.7