1
00:00:00.05 --> 00:00:02.09
- In this movie we'll
discuss how strokes align

2
00:00:02.09 --> 00:00:04.06
to their path outlines.

3
00:00:04.06 --> 00:00:07.05
Initially it's going to
seem a little but obscure

4
00:00:07.05 --> 00:00:09.09
but it goes to the heart
of how strokes work

5
00:00:09.09 --> 00:00:11.08
inside of Illustrator.

6
00:00:11.08 --> 00:00:16.03
Notice the title of this
document its '220 x 420 guides'.

7
00:00:16.03 --> 00:00:19.06
What we have here are
three rectangular guides,

8
00:00:19.06 --> 00:00:25.05
each of which measures 220
points wide and 420 points tall.

9
00:00:25.05 --> 00:00:27.06
What I'm going to do now
is click and hold on a

10
00:00:27.06 --> 00:00:30.00
rectangle tool in order to
bring up the 'Shape' tool

11
00:00:30.00 --> 00:00:33.05
fly out menu and I'll select
the ellipse tool and then

12
00:00:33.05 --> 00:00:36.07
I'm going to position my
cursor right here at the center

13
00:00:36.07 --> 00:00:39.08
of this rectangle and I'm
going to press the 'Alt' key

14
00:00:39.08 --> 00:00:42.05
or the 'Option' key on a Mac and click.

15
00:00:42.05 --> 00:00:45.03
Then, inside the ellipse
dialog box I'm going to

16
00:00:45.03 --> 00:00:49.07
set the width value, not to
220 but rather to 200 points

17
00:00:49.07 --> 00:00:52.07
and I'm going to set the
height value not to 220 but

18
00:00:52.07 --> 00:00:54.08
rather to 400 points.

19
00:00:54.08 --> 00:00:58.08
In other words, both the width
and height values are 20 less

20
00:00:58.08 --> 00:01:01.02
than the the width and the
height of the rectangles.

21
00:01:01.02 --> 00:01:05.05
I'll click 'OK' to create that
ellipse from the center out.

22
00:01:05.05 --> 00:01:07.05
I'm going to go up to
the line weight value,

23
00:01:07.05 --> 00:01:10.06
click the down pointing arrowhead
and change the line weight

24
00:01:10.06 --> 00:01:13.09
to 20 points, just as we
saw in the previous movie.

25
00:01:13.09 --> 00:01:16.07
I'm also going to change the
color of that stroke to that

26
00:01:16.07 --> 00:01:19.07
same shade of purple, just
for the sake of demonstration,

27
00:01:19.07 --> 00:01:23.02
R 102, G 45, B 145.

28
00:01:23.02 --> 00:01:25.09
I'm going to get rid of the
fill, just so it doesn't

29
00:01:25.09 --> 00:01:28.05
get in our way, by clicking
on the first swatch

30
00:01:28.05 --> 00:01:30.06
and selecting none.

31
00:01:30.06 --> 00:01:33.04
Now let's duplicate the
shape a couple of times

32
00:01:33.04 --> 00:01:35.07
by first switching to
the black arrow tool,

33
00:01:35.07 --> 00:01:38.00
which of course you can
get by pressing the V key

34
00:01:38.00 --> 00:01:40.08
and then I'm going to drag
the center of this ellipse

35
00:01:40.08 --> 00:01:44.00
over to the right until it
snaps into alignment with the

36
00:01:44.00 --> 00:01:45.06
rectangular guide line.

37
00:01:45.06 --> 00:01:48.03
Now I'll press the 'Alt' key
or the 'Option' key on a Mac

38
00:01:48.03 --> 00:01:51.01
and if you're doing things
right you should see a

39
00:01:51.01 --> 00:01:53.06
double white arrow head,
which tells you that you're

40
00:01:53.06 --> 00:01:56.06
snapping and that you're
going to create a duplicate

41
00:01:56.06 --> 00:01:57.09
of this ellipse.

42
00:01:57.09 --> 00:02:01.02
Then go ahead and press
Ctrl+D or Command+D on a Mac

43
00:02:01.02 --> 00:02:05.02
in order to create another
duplicate of that shape.

44
00:02:05.02 --> 00:02:08.00
Now I'll go up to the 'Select'
menu and choose the 'All'

45
00:02:08.00 --> 00:02:11.04
command, or press Ctrl+A
or Command+A on a Mac

46
00:02:11.04 --> 00:02:13.09
to select all three of these shapes.

47
00:02:13.09 --> 00:02:17.01
I'm going to zoom in as
well and I want you to see

48
00:02:17.01 --> 00:02:21.01
that they exactly fill their rectangles.

49
00:02:21.01 --> 00:02:23.00
You might think, 'Well,
gosh Deke, that's really

50
00:02:23.00 --> 00:02:26.02
entertaining, but why is this important?'

51
00:02:26.02 --> 00:02:29.02
What's happening here is
that the stroke is exactly

52
00:02:29.02 --> 00:02:31.07
centered on the path outline and so,

53
00:02:31.07 --> 00:02:34.00
because it measures 20 points thick,

54
00:02:34.00 --> 00:02:36.08
it extends 10 points
(that's half of 20 points)

55
00:02:36.08 --> 00:02:39.07
outside the ellipse,
and the other 10 points

56
00:02:39.07 --> 00:02:41.01
into the ellipse.

57
00:02:41.01 --> 00:02:44.07
As a result we're filling
that 20 point gap between

58
00:02:44.07 --> 00:02:48.06
each one of these shapes
and we're doing so exactly.

59
00:02:48.06 --> 00:02:51.06
If I were to turn off the
guides layer for a moment

60
00:02:51.06 --> 00:02:54.06
and then I was to zoom
in on the inner section

61
00:02:54.06 --> 00:02:57.04
of these two ellipses
you can see that they

62
00:02:57.04 --> 00:02:59.08
exactly touch each other.

63
00:02:59.08 --> 00:03:01.09
That's because there's
a 20 point gap between

64
00:03:01.09 --> 00:03:05.08
the two ellipses and in both
cases we have 20 point strokes

65
00:03:05.08 --> 00:03:09.02
which extend 10 points to
the left from the right shape

66
00:03:09.02 --> 00:03:12.03
and 10 points to the
right from the left shape.

67
00:03:12.03 --> 00:03:15.00
You can modify that if you like.

68
00:03:15.00 --> 00:03:17.08
I'll go ahead and zoom out
just a little bit by pressing

69
00:03:17.08 --> 00:03:19.09
Ctrl + - a few times.

70
00:03:19.09 --> 00:03:22.09
To modify the alignment you
click on the word 'Stroke'

71
00:03:22.09 --> 00:03:25.09
up here in the control panel
to bring up the stroke panel

72
00:03:25.09 --> 00:03:28.05
and you drop down to this
'Align Stroke' option.

73
00:03:28.05 --> 00:03:31.06
Notice that by default it's set
to 'Align Stroke to Center'.

74
00:03:31.06 --> 00:03:34.08
You can, if you like, set it
to 'Align Stroke to Inside',

75
00:03:34.08 --> 00:03:37.07
in which case all 20 points
of the strike is going to move

76
00:03:37.07 --> 00:03:41.04
to the inside of that path
outline and none of the shapes

77
00:03:41.04 --> 00:03:43.09
will touch each other as
we're seeing right here.

78
00:03:43.09 --> 00:03:47.02
Or, you can set it to
'Align Stroke to Outside'

79
00:03:47.02 --> 00:03:50.08
in which case the entire
20 points of that stroke is

80
00:03:50.08 --> 00:03:53.06
going to go outside the
path outline and in our case

81
00:03:53.06 --> 00:03:56.06
because each one of the
ellipses is 20 points away from

82
00:03:56.06 --> 00:04:00.07
it's neighbor, the strokes
are going to entirely overlap

83
00:04:00.07 --> 00:04:02.04
at this location.

84
00:04:02.04 --> 00:04:05.01
We'll end up, if I press the
'Escape' key and then press

85
00:04:05.01 --> 00:04:08.03
Ctrl+0, Command+0 on a Mac, to zoom out,

86
00:04:08.03 --> 00:04:11.02
we'll end up with this
perfect overlapping effect

87
00:04:11.02 --> 00:04:11.09
right here.

88
00:04:11.09 --> 00:04:15.00
Notice, the reason I say
it's so perfect, is because

89
00:04:15.00 --> 00:04:17.04
the stroke that's associated
with this path outline,

90
00:04:17.04 --> 00:04:20.06
for example the center one,
is not extending at all,

91
00:04:20.06 --> 00:04:24.08
it's just touching the inside
edge of both of it's neighbors

92
00:04:24.08 --> 00:04:28.08
but it's not overlapping
into the neighbors one whit.

93
00:04:28.08 --> 00:04:31.08
One of the things you should
know about aligning strokes

94
00:04:31.08 --> 00:04:35.01
is that it only works
with closed path outlines.

95
00:04:35.01 --> 00:04:37.00
In other words, if I were to switch to the

96
00:04:37.00 --> 00:04:40.07
white arrow tool here, which I
can get by pressing the A key

97
00:04:40.07 --> 00:04:44.00
and then I click on, let's
say, this segment right here,

98
00:04:44.00 --> 00:04:46.07
and were to select it
independently of the others

99
00:04:46.07 --> 00:04:48.07
and then I press the 'Backspace' key,

100
00:04:48.07 --> 00:04:51.02
or the 'Delete' key on a
Mac, that goes ahead and

101
00:04:51.02 --> 00:04:55.03
opens up that path outline so
that it begins at one point

102
00:04:55.03 --> 00:05:00.00
and ends at another, at which
point I lose that alignment.

103
00:05:00.00 --> 00:05:02.08
Notice now that the stroke
is once again centered

104
00:05:02.08 --> 00:05:04.02
on the path outline?

105
00:05:04.02 --> 00:05:06.03
That's just the way it is.

106
00:05:06.03 --> 00:05:09.01
For example, if I were to
switch back to my letters

107
00:05:09.01 --> 00:05:11.08
right here, you can
see that they're either

108
00:05:11.08 --> 00:05:15.06
open path outlines, in the
case of the C for example,

109
00:05:15.06 --> 00:05:18.02
or they're compound paths.

110
00:05:18.02 --> 00:05:21.08
Whenever you're working with
open paths or compound paths

111
00:05:21.08 --> 00:05:24.05
when you click on 'Stroke'
you'll see that your

112
00:05:24.05 --> 00:05:27.01
'Align Stroke' options are dimmed.

113
00:05:27.01 --> 00:05:30.06
Whereas if I was to switch
to the infinity symbol,

114
00:05:30.06 --> 00:05:34.00
which is a closed path
outline, notice that it has

115
00:05:34.00 --> 00:05:37.07
complete and total continuity,
there are no end points,

116
00:05:37.07 --> 00:05:39.09
I'll go ahead and press
the V key to switch to the

117
00:05:39.09 --> 00:05:43.00
black arrow tool, I'll click
on that path to select it

118
00:05:43.00 --> 00:05:45.03
and then I'll grab my eye
dropper near the bottom

119
00:05:45.03 --> 00:05:48.06
of the tool box, which has
a keyboard shortcut of I.

120
00:05:48.06 --> 00:05:51.03
I'll go ahead and click
on any one of these paths,

121
00:05:51.03 --> 00:05:54.02
whether it's an open
path or a compound path,

122
00:05:54.02 --> 00:05:57.00
that'll go ahead and lift
that purple 20 point stroke

123
00:05:57.00 --> 00:05:59.02
at which point I'll go
ahead and zoom in by

124
00:05:59.02 --> 00:06:02.08
Ctrl+Spacebar clicking or
Command+Spacebar clicking on a Mac

125
00:06:02.08 --> 00:06:05.09
now if I click on the word
'Stroke' the 'Align Stroke'

126
00:06:05.09 --> 00:06:09.04
option is once again active so
that I can switch the stroke

127
00:06:09.04 --> 00:06:12.09
to the inside or to the outside, like so,

128
00:06:12.09 --> 00:06:15.05
or I can move it back
so that it's centered

129
00:06:15.05 --> 00:06:17.04
on the path outline.

130
00:06:17.04 --> 00:06:20.05
This is going to be integral
because most strokes

131
00:06:20.05 --> 00:06:22.07
are centered on their path outline.

132
00:06:22.07 --> 00:06:24.08
That''s because we have a
lot of different kinds of

133
00:06:24.08 --> 00:06:28.04
path outlines that are
available to us in Illustrator.

134
00:06:28.04 --> 00:06:32.00
You want to think in terms
of half of that line weight.

135
00:06:32.00 --> 00:06:35.01
It's not so much that we
have a 20 point line weight

136
00:06:35.01 --> 00:06:38.05
as we have a 10 point
weight on the outside

137
00:06:38.05 --> 00:06:41.01
and a 10 point weight on the inside.

138
00:06:41.01 --> 00:06:43.07
I'll show you exactly why that matters

139
00:06:43.07 --> 00:06:45.03
in the very next movie.

