1
00:00:00.08 --> 00:00:02.01
- [Instructor] In this
movie, I'm going to show you

2
00:00:02.01 --> 00:00:06.02
how to draw holes using a
feature called knockout group

3
00:00:06.02 --> 00:00:09.08
that's available inside
the transparency panel.

4
00:00:09.08 --> 00:00:12.07
So, when you see something
here, if you zoom in

5
00:00:12.07 --> 00:00:18.04
on the forehead, notice
that we have this gray line,

6
00:00:18.04 --> 00:00:21.09
right about there, and it
goes all the way across,

7
00:00:21.09 --> 00:00:26.07
and it's a function of this
white line in the background.

8
00:00:26.07 --> 00:00:30.08
That's happening because I have
a stroke around my headline.

9
00:00:30.08 --> 00:00:33.08
And so, somehow, I need
to get rid of that.

10
00:00:33.08 --> 00:00:36.07
Well, you might figure one
approach would be to select

11
00:00:36.07 --> 00:00:39.03
the image and then, let's
just go ahead and twirl open

12
00:00:39.03 --> 00:00:41.05
the clipping group right here.

13
00:00:41.05 --> 00:00:44.02
Notice that the clipping
mask has automatically

14
00:00:44.02 --> 00:00:45.08
jumped back to the top.

15
00:00:45.08 --> 00:00:47.07
So, Illustrator apparently
really prefers it

16
00:00:47.07 --> 00:00:49.04
to be at this location.

17
00:00:49.04 --> 00:00:51.07
But in any event, I can
go ahead and select this

18
00:00:51.07 --> 00:00:54.09
and then I might go up to
my fill swatch, up here

19
00:00:54.09 --> 00:00:57.03
in the control panel,
and change it to white,

20
00:00:57.03 --> 00:00:59.05
just so that we have something in the way.

21
00:00:59.05 --> 00:01:01.06
Well, if I go that route,
then we don't have that

22
00:01:01.06 --> 00:01:04.08
interaction with the
gradient background anymore.

23
00:01:04.08 --> 00:01:07.02
And I could try to fake it
by changing that fill color

24
00:01:07.02 --> 00:01:10.03
to purple, but that's not
really the effect I want.

25
00:01:10.03 --> 00:01:12.08
So I'm just going to
set this back to none.

26
00:01:12.08 --> 00:01:16.09
What I want to do instead
is cut a hole in that line.

27
00:01:16.09 --> 00:01:20.00
And so, I'm going to go ahead
and twirl the image layer closed

28
00:01:20.00 --> 00:01:22.07
and I'm going to turn
it off for the present,

29
00:01:22.07 --> 00:01:25.07
and I'm just going to go ahead
and zoom in a little bit here.

30
00:01:25.07 --> 00:01:28.08
Now, one way to carve a hole
would be to get the rectangle

31
00:01:28.08 --> 00:01:31.08
tool, and I want to make sure
that I'm working on the right

32
00:01:31.08 --> 00:01:35.08
layer, which is this guy, push
posh, and then I could drag

33
00:01:35.08 --> 00:01:40.01
across, like so, in order
to create a rectangle there.

34
00:01:40.01 --> 00:01:43.00
And then I could press
the V key to switch back

35
00:01:43.00 --> 00:01:46.03
to my black arrow tool and
shift-click on this guy,

36
00:01:46.03 --> 00:01:48.07
and then I could go up to the window menu

37
00:01:48.07 --> 00:01:51.03
and choose the pathfinder panel.

38
00:01:51.03 --> 00:01:54.08
Now, if I just subtract the front
shape, then I'm going to get

39
00:01:54.08 --> 00:01:57.06
this effect here, which
is obviously no better.

40
00:01:57.06 --> 00:02:00.06
But even if I were to press
the alt key, or the option key

41
00:02:00.06 --> 00:02:03.06
on the Mac, and click in
order to create a dynamic

42
00:02:03.06 --> 00:02:07.04
compound shape, I still
trace around the whole thing.

43
00:02:07.04 --> 00:02:10.03
So, I'm faced with a couple of solutions.

44
00:02:10.03 --> 00:02:14.05
One is a permanent solution,
which is to grab scissors tool

45
00:02:14.05 --> 00:02:18.01
and just start cuttin'
away at that path outline.

46
00:02:18.01 --> 00:02:21.03
But let's say I want to work
dynamically, and with a high

47
00:02:21.03 --> 00:02:24.00
degree of precision as well,
as you're about to see.

48
00:02:24.00 --> 00:02:26.06
I'm going to undo the
creation of that rectangle

49
00:02:26.06 --> 00:02:29.05
and I'm going to draw another
one, one that's bigger,

50
00:02:29.05 --> 00:02:31.07
just so we can really see what's going on.

51
00:02:31.07 --> 00:02:34.03
And I'm going to swap the
fill and stroke attributes

52
00:02:34.03 --> 00:02:36.04
by pressing shift X.

53
00:02:36.04 --> 00:02:39.02
So, we have a black fill
and we have no stroke.

54
00:02:39.02 --> 00:02:41.08
Alright, now I'm going to
switch back to my transparency

55
00:02:41.08 --> 00:02:46.00
panel here and I'm going
to expand it as well.

56
00:02:46.00 --> 00:02:49.06
And I'm going to reduce
the opacity value to 50%,

57
00:02:49.06 --> 00:02:52.01
just by pressing the five
key, because I've loaded

58
00:02:52.01 --> 00:02:53.08
dekeKeys, after all.

59
00:02:53.08 --> 00:02:55.05
Now, notice what happens.

60
00:02:55.05 --> 00:02:59.09
We're seeing through the
object to the objects below,

61
00:02:59.09 --> 00:03:03.00
and that makes all the sense in the world.

62
00:03:03.00 --> 00:03:05.09
But we could also instead
create a knockout,

63
00:03:05.09 --> 00:03:09.06
and we could treat this shape
as if it is tunneling through

64
00:03:09.06 --> 00:03:12.02
everything else on this layer.

65
00:03:12.02 --> 00:03:15.00
And to make that happen, you
want to go ahead and target

66
00:03:15.00 --> 00:03:19.00
the layer itself by clicking
on the circular meatball.

67
00:03:19.00 --> 00:03:22.06
And so, you need some form
of container, either a group

68
00:03:22.06 --> 00:03:26.04
or a layer, something,
and then you've got this

69
00:03:26.04 --> 00:03:28.09
knockout group checkbox here.

70
00:03:28.09 --> 00:03:31.08
Now, by default, it has this
little minus through it,

71
00:03:31.08 --> 00:03:33.08
and what that's telling
you is you're currently

72
00:03:33.08 --> 00:03:35.09
in the neutral state.

73
00:03:35.09 --> 00:03:39.00
And so, the idea is the
checkbox is turned neither on

74
00:03:39.00 --> 00:03:42.04
nor off, just so it
doesn't end up overriding

75
00:03:42.04 --> 00:03:45.01
other groups inside this layer.

76
00:03:45.01 --> 00:03:47.09
So it's basically as if
this function doesn't exist

77
00:03:47.09 --> 00:03:49.05
at this point.

78
00:03:49.05 --> 00:03:53.07
But your other option is to
turn it on by clicking on it,

79
00:03:53.07 --> 00:03:56.06
at which point, notice that
we're actually burrowing

80
00:03:56.06 --> 00:03:59.03
through the other text on this layer.

81
00:03:59.03 --> 00:04:01.00
Now, you can ignore the word your,

82
00:04:01.00 --> 00:04:03.06
because it's not on the same
layer, and so, for the moment,

83
00:04:03.06 --> 00:04:05.02
I'll just go ahead and turn it off here.

84
00:04:05.02 --> 00:04:07.07
And so, we'll just pay
attention to the one layer

85
00:04:07.07 --> 00:04:08.08
we're working on.

86
00:04:08.08 --> 00:04:10.09
So, in other words,
regardless of the opacity

87
00:04:10.09 --> 00:04:14.05
of this rectangle, it is
going to entirely knock out

88
00:04:14.05 --> 00:04:16.06
everything behind it.

89
00:04:16.06 --> 00:04:18.08
Alright, I'm going to press
the V key to switch back

90
00:04:18.08 --> 00:04:20.01
to my black arrow tool.

91
00:04:20.01 --> 00:04:22.03
I'll click off the shapes for
now and I'll click back on

92
00:04:22.03 --> 00:04:25.07
this rectangle, and so, I
could press the nine key

93
00:04:25.07 --> 00:04:28.07
in order to increase the opacity to 90%,

94
00:04:28.07 --> 00:04:31.01
and I'm still not going to see
anything in the background.

95
00:04:31.01 --> 00:04:34.04
I could press the one
key to set it to 10%,

96
00:04:34.04 --> 00:04:38.03
and I'm not going to see those
objects on this one layer.

97
00:04:38.03 --> 00:04:41.03
So they've all got to be in
a single container together.

98
00:04:41.03 --> 00:04:44.02
Again, that could be a group,
but in our case, it's a layer.

99
00:04:44.02 --> 00:04:46.08
What I really want, though,
is to be able to see

100
00:04:46.08 --> 00:04:49.02
entirely through this rectangle.

101
00:04:49.02 --> 00:04:52.04
Notice, if I click off of it,
it's still partially there,

102
00:04:52.04 --> 00:04:56.03
which is why we have
an opacity value of 0%.

103
00:04:56.03 --> 00:04:58.03
And so, I'm going to select
that rectangle and tap

104
00:04:58.03 --> 00:05:02.05
the tilde key, you may recall,
if you've loaded dekeKeys,

105
00:05:02.05 --> 00:05:06.01
or, of course, you could just
manually set this value to 0%,

106
00:05:06.01 --> 00:05:09.01
at which point we have a floating hole.

107
00:05:09.01 --> 00:05:11.09
And I can move that hole anyplace I like

108
00:05:11.09 --> 00:05:14.02
in order to cut away this layer.

109
00:05:14.02 --> 00:05:16.03
Alright now, I don't
really need this rectangle

110
00:05:16.03 --> 00:05:19.04
to be this big, so I'm going
to bring back the image layer

111
00:05:19.04 --> 00:05:21.03
so I can at least see what's going on.

112
00:05:21.03 --> 00:05:24.02
And the easiest way to
scale this rectangle

113
00:05:24.02 --> 00:05:26.09
is going to be to bring
back the bounding box.

114
00:05:26.09 --> 00:05:30.00
And you can do that either
by going up to the view menu

115
00:05:30.00 --> 00:05:32.00
and choosing show bounding box.

116
00:05:32.00 --> 00:05:33.06
I hate drifting through this menu, though,

117
00:05:33.06 --> 00:05:35.01
there's so much going on.

118
00:05:35.01 --> 00:05:36.08
Which is why it's so great
that you can just press

119
00:05:36.08 --> 00:05:40.01
control shift V or command
shift V on the Mac.

120
00:05:40.01 --> 00:05:43.08
Alright, and now I'll go
ahead and drag this guy down.

121
00:05:43.08 --> 00:05:46.04
It's too low, but I don't
want to have it over

122
00:05:46.04 --> 00:05:49.02
the text at all, so I
might just drag it out here

123
00:05:49.02 --> 00:05:52.06
where I can see the text, and
then I could drag this up,

124
00:05:52.06 --> 00:05:54.05
but, doesn't really matter at this point,

125
00:05:54.05 --> 00:05:56.03
we can leave it big down here.

126
00:05:56.03 --> 00:05:59.05
Now I want to drag it in at
the sides to this location

127
00:05:59.05 --> 00:06:01.09
right there and over to here.

128
00:06:01.09 --> 00:06:04.06
And because her hair is jet black,

129
00:06:04.06 --> 00:06:07.04
it ends up covering things quite nicely.

130
00:06:07.04 --> 00:06:10.02
After which point, I'll once
again press control shift B

131
00:06:10.02 --> 00:06:14.05
or command shift B on the Mac
to turn off the bounding box,

132
00:06:14.05 --> 00:06:16.08
and then I'll click off the
rectangle to deselect it,

133
00:06:16.08 --> 00:06:20.02
and then I'll turn back on my your layer.

134
00:06:20.02 --> 00:06:22.05
And I want you to notice
something about the your layer,

135
00:06:22.05 --> 00:06:24.00
something I really didn't make obvious

136
00:06:24.00 --> 00:06:25.05
in the previous movie.

137
00:06:25.05 --> 00:06:28.00
If I go ahead and target
that layer and switch back to

138
00:06:28.00 --> 00:06:31.09
the appearance panel, notice
the top-left corner of the Y.

139
00:06:31.09 --> 00:06:34.06
If I turn off that
gradient fill, you can see

140
00:06:34.06 --> 00:06:37.03
a little bit of gray up there.

141
00:06:37.03 --> 00:06:40.03
Whereas if I turn that gradient
fill back on to enhance

142
00:06:40.03 --> 00:06:44.00
the contrast of this
effect, that little area

143
00:06:44.00 --> 00:06:46.00
turns absolutely white.

144
00:06:46.00 --> 00:06:48.00
So that's the kind of
stuff you can accomplish

145
00:06:48.00 --> 00:06:50.04
with a little bit of additional effort.

146
00:06:50.04 --> 00:06:54.03
Alright, one other thing I want
to show you is what appears

147
00:06:54.03 --> 00:06:57.06
to be a bug in this particular
version of Illustrator.

148
00:06:57.06 --> 00:07:00.02
If I select the type tool,
I'll switch back to the layers

149
00:07:00.02 --> 00:07:02.07
panel and I'll click
on the push posh layer,

150
00:07:02.07 --> 00:07:05.02
and I'll click right about
there, notice things are already

151
00:07:05.02 --> 00:07:08.03
going extremely wrong.

152
00:07:08.03 --> 00:07:11.00
And then, if I go ahead
and click off the text,

153
00:07:11.00 --> 00:07:14.03
there is some white text
sitting right there, by the way.

154
00:07:14.03 --> 00:07:16.09
I'll just move it over
so we can see it better.

155
00:07:16.09 --> 00:07:18.08
And notice that it appears
just fine on the fly

156
00:07:18.08 --> 00:07:22.00
when I'm moving it around,
but as soon as I release,

157
00:07:22.00 --> 00:07:23.04
it looks terrible.

158
00:07:23.04 --> 00:07:26.01
So what I'll do is I'll
press control Y or command Y

159
00:07:26.01 --> 00:07:28.07
on the Mac to switch to the
outline mode for a minute,

160
00:07:28.07 --> 00:07:31.08
then I'll press control Y or
command Y again to switch back

161
00:07:31.08 --> 00:07:34.06
to the preview mode, so that
Illustrator has a chance

162
00:07:34.06 --> 00:07:38.09
to refresh the screen and
things go terribly awry.

163
00:07:38.09 --> 00:07:41.02
And that is a function for now, at least.

164
00:07:41.02 --> 00:07:44.03
I'm setting a layer to knockout
group, turning knockout

165
00:07:44.03 --> 00:07:48.07
group on, when that layer
contains small type.

166
00:07:48.07 --> 00:07:51.09
And so, notice our type
size is currently 12 points.

167
00:07:51.09 --> 00:07:55.09
If I take it up to 120
points, the problem goes away,

168
00:07:55.09 --> 00:07:59.03
and I can make that even more
evident by pressing control Y

169
00:07:59.03 --> 00:08:02.06
or command Y on the Mac a couple
of times in a row, at which

170
00:08:02.06 --> 00:08:06.02
point you'll see everything
reconciles quite nicely.

171
00:08:06.02 --> 00:08:08.05
So, that's just something to be aware of.

172
00:08:08.05 --> 00:08:10.09
I'm going to go ahead and get
rid of that text by pressing

173
00:08:10.09 --> 00:08:13.04
the backspace key or the
delete key on the Mac,

174
00:08:13.04 --> 00:08:15.07
and then I'll press control
zero or command zero on the Mac

175
00:08:15.07 --> 00:08:18.01
to center my zoom.

176
00:08:18.01 --> 00:08:22.01
And that is how you turn any
path outline into a hole,

177
00:08:22.01 --> 00:08:26.03
it can be text as well, by
setting its opacity to 0%

178
00:08:26.03 --> 00:08:30.00
and then making sure it's
inside of a group or a layer

179
00:08:30.00 --> 00:08:33.00
and turning on the
knockout group checkbox,

180
00:08:33.00 --> 00:08:35.09
here inside the transparency panel.

