1
00:00:00.06 --> 00:00:02.02
- [Instructor] In this movie,
I'll show you how to use

2
00:00:02.02 --> 00:00:03.05
the simplest of the line tools,

3
00:00:03.05 --> 00:00:06.06
which Illustrator calls
the Line Segment Tool.

4
00:00:06.06 --> 00:00:09.05
And all it does is allow
you to draw straight lines.

5
00:00:09.05 --> 00:00:11.00
But as we'll see in the next movie,

6
00:00:11.00 --> 00:00:12.07
there's a lot you can
do with straight lines

7
00:00:12.07 --> 00:00:14.00
inside Illustrator.

8
00:00:14.00 --> 00:00:15.04
So the first thing I'm going to do

9
00:00:15.04 --> 00:00:17.07
is create a new layer to house my lines,

10
00:00:17.07 --> 00:00:20.04
and while it isn't absolutely
necessary that you do this,

11
00:00:20.04 --> 00:00:21.04
it's good to get in the habit

12
00:00:21.04 --> 00:00:24.01
of creating independent
layers for your designs.

13
00:00:24.01 --> 00:00:26.02
And it's often useful to keep your guides,

14
00:00:26.02 --> 00:00:28.00
which we drew in the previous movie,

15
00:00:28.00 --> 00:00:30.06
isolated to their own layer as well.

16
00:00:30.06 --> 00:00:32.01
So the first thing you want to do

17
00:00:32.01 --> 00:00:34.00
is make sure that you're
seeing the Layers panel

18
00:00:34.00 --> 00:00:35.02
up on screen.

19
00:00:35.02 --> 00:00:37.05
Then, drop down to this little page icon

20
00:00:37.05 --> 00:00:39.08
at the bottom of the panel and click on it

21
00:00:39.08 --> 00:00:42.01
to create a new layer in front

22
00:00:42.01 --> 00:00:43.09
of the previously selected one.

23
00:00:43.09 --> 00:00:45.06
The only problem with working this way

24
00:00:45.06 --> 00:00:47.09
is you end up with an unnamed layer,

25
00:00:47.09 --> 00:00:49.09
notice in our case it's called layer two.

26
00:00:49.09 --> 00:00:51.02
Of course, you can change that

27
00:00:51.02 --> 00:00:53.03
just by double clicking on that name

28
00:00:53.03 --> 00:00:54.07
and typing in a new one,

29
00:00:54.07 --> 00:00:56.03
but you may find over time,

30
00:00:56.03 --> 00:00:59.06
that you prefer to name your
layers as you create them

31
00:00:59.06 --> 00:01:01.03
and you do this as follows.

32
00:01:01.03 --> 00:01:03.02
First thing I'm going to
do is escape out there

33
00:01:03.02 --> 00:01:04.04
and then press Control + Z

34
00:01:04.04 --> 00:01:07.06
or Command + Z on a Mac to undo
the creation of that layer.

35
00:01:07.06 --> 00:01:10.05
Then, I will once again dropdown
to the little page icon,

36
00:01:10.05 --> 00:01:13.04
and I will Alt or Option + Click on it

37
00:01:13.04 --> 00:01:17.00
to force the display of the
Layer Options dialog box.

38
00:01:17.00 --> 00:01:19.00
So once again, that's an Alt + Click

39
00:01:19.00 --> 00:01:21.00
or an Option + Click on a Mac.

40
00:01:21.00 --> 00:01:23.03
And now, I'll just go ahead
and call this layer, lines,

41
00:01:23.03 --> 00:01:26.08
and click OK in order to
create my new lines layer.

42
00:01:26.08 --> 00:01:28.09
Next, if you're working along with me,

43
00:01:28.09 --> 00:01:30.01
go up to the View menu

44
00:01:30.01 --> 00:01:32.07
and make sure Smart Guides is turned on.

45
00:01:32.07 --> 00:01:34.05
So, if it's got a check
mark in front of it,

46
00:01:34.05 --> 00:01:35.07
that's just fine.

47
00:01:35.07 --> 00:01:38.02
If it doesn't, then go ahead
and choose the command.

48
00:01:38.02 --> 00:01:41.01
And then, you want to select
the Line Segment Tool,

49
00:01:41.01 --> 00:01:43.04
which you'll find directly
underneath the Type Tool

50
00:01:43.04 --> 00:01:45.06
in the single column toolbox.

51
00:01:45.06 --> 00:01:47.09
If you're not seeing it, just
go ahead and click and hold

52
00:01:47.09 --> 00:01:49.02
on whatever tool you do see

53
00:01:49.02 --> 00:01:51.02
and then select the Line Segment Tool

54
00:01:51.02 --> 00:01:52.09
from the top of the flyout menu.

55
00:01:52.09 --> 00:01:54.08
Notice that it has a keyboard shortcut

56
00:01:54.08 --> 00:01:58.04
which is a backward
version of the tools icon,

57
00:01:58.04 --> 00:02:00.09
so in other words, you can
press the backslash key

58
00:02:00.09 --> 00:02:02.05
to select the Line Segment Tool.

59
00:02:02.05 --> 00:02:03.09
You'll also have the option

60
00:02:03.09 --> 00:02:06.00
of releasing on this vertical bar

61
00:02:06.00 --> 00:02:09.05
in order to create an
independent mini toolbox

62
00:02:09.05 --> 00:02:11.07
that contains just those line tools

63
00:02:11.07 --> 00:02:13.09
that we saw in the flyout menu.

64
00:02:13.09 --> 00:02:16.08
Alright, assuming that your
Line Segment Tool is selected,

65
00:02:16.08 --> 00:02:20.02
just go ahead and drag some
place inside the document window

66
00:02:20.02 --> 00:02:22.03
and because we have
Smart Guides turned on,

67
00:02:22.03 --> 00:02:24.04
you're going to see a heads up display.

68
00:02:24.04 --> 00:02:26.07
The d-value stands for distance,

69
00:02:26.07 --> 00:02:29.00
and it represents the length of the line.

70
00:02:29.00 --> 00:02:30.09
And we're also seeing an angle value

71
00:02:30.09 --> 00:02:32.09
that tells us the angle,

72
00:02:32.09 --> 00:02:35.02
and of course, both of these
values are going to change

73
00:02:35.02 --> 00:02:36.02
on the fly.

74
00:02:36.02 --> 00:02:37.09
Once you get the effect you want,

75
00:02:37.09 --> 00:02:39.07
just go ahead and release the mouse button

76
00:02:39.07 --> 00:02:42.06
in order to create that straight line.

77
00:02:42.06 --> 00:02:44.07
Now, notice these two swatches up here

78
00:02:44.07 --> 00:02:46.04
at the beginning of the control panel,

79
00:02:46.04 --> 00:02:48.00
over here on the left hand side.

80
00:02:48.00 --> 00:02:50.04
The first one indicates the fill,

81
00:02:50.04 --> 00:02:53.03
and the fill is the
color inside of a shape.

82
00:02:53.03 --> 00:02:56.03
A straight line, however, has no inside.

83
00:02:56.03 --> 00:02:58.09
And so, it's generally
best to make sure its fill

84
00:02:58.09 --> 00:03:01.08
is set to none, as
indicated by this white box

85
00:03:01.08 --> 00:03:03.05
with a red slash through it.

86
00:03:03.05 --> 00:03:05.01
If you're seeing some other color,

87
00:03:05.01 --> 00:03:06.07
just go ahead and click on the swatch

88
00:03:06.07 --> 00:03:08.07
and select this very first swatch

89
00:03:08.07 --> 00:03:11.02
in the upper left corner
of the popup panel.

90
00:03:11.02 --> 00:03:13.03
Next, we see the color of the stroke,

91
00:03:13.03 --> 00:03:16.02
which is essentially the
color of the outline,

92
00:03:16.02 --> 00:03:18.00
as we'll see in more detail

93
00:03:18.00 --> 00:03:20.02
over the course of these chapters.

94
00:03:20.02 --> 00:03:22.04
And third, we have this line weight value,

95
00:03:22.04 --> 00:03:25.05
which represents the
thickness of the stroke.

96
00:03:25.05 --> 00:03:28.02
And so, just so I can see things
a little better on screen,

97
00:03:28.02 --> 00:03:30.05
I'm going to click this
down pointing arrowhead,

98
00:03:30.05 --> 00:03:32.03
and I'm going to choose eight point

99
00:03:32.03 --> 00:03:34.06
in order to thicken up that line.

100
00:03:34.06 --> 00:03:37.04
Alright, so obviously,
drawing a straight line

101
00:03:37.04 --> 00:03:39.07
is pretty easy work inside of Illustrator,

102
00:03:39.07 --> 00:03:41.00
but you do have a few more options

103
00:03:41.00 --> 00:03:42.03
that are available to you.

104
00:03:42.03 --> 00:03:44.07
For one thing, I'll go
ahead and start dragging

105
00:03:44.07 --> 00:03:47.00
at the intersection of
these two guidelines.

106
00:03:47.00 --> 00:03:50.00
Rather than dragging from
one endpoint to the other,

107
00:03:50.00 --> 00:03:52.02
you can draw from the center outward

108
00:03:52.02 --> 00:03:54.01
by pressing and holding the alt key

109
00:03:54.01 --> 00:03:56.00
or the option key on a Mac.

110
00:03:56.00 --> 00:03:58.08
And now, you can see that
that line is centered

111
00:03:58.08 --> 00:04:01.03
at the intersection of those two guides.

112
00:04:01.03 --> 00:04:03.01
But you've got to keep the alt key down,

113
00:04:03.01 --> 00:04:05.02
that is to say, the option key on the Mac,

114
00:04:05.02 --> 00:04:08.01
because if you release at
any point as you're drawing,

115
00:04:08.01 --> 00:04:11.00
then you're going to go back to
your standard drawing method,

116
00:04:11.00 --> 00:04:13.00
that is to say, you're going
to start at one endpoint

117
00:04:13.00 --> 00:04:14.06
and end at another.

118
00:04:14.06 --> 00:04:16.05
But because I do want to
go from the center out,

119
00:04:16.05 --> 00:04:17.08
I'll keep my alt key down,

120
00:04:17.08 --> 00:04:20.03
again that's the option key on a Mac.

121
00:04:20.03 --> 00:04:22.05
You can also constrain
the angle of your line

122
00:04:22.05 --> 00:04:24.08
by first dragging with
the Line Segment Tool

123
00:04:24.08 --> 00:04:27.01
and then pressing and
holding the shift key.

124
00:04:27.01 --> 00:04:28.07
And because my shift key is down,

125
00:04:28.07 --> 00:04:30.09
the angle value, as you can see here,

126
00:04:30.09 --> 00:04:34.00
goes from zero degrees to
45 degrees to 90 degrees

127
00:04:34.00 --> 00:04:36.02
to 135 and so forth.

128
00:04:36.02 --> 00:04:38.03
So, in other words, pressing
and holding the shift key

129
00:04:38.03 --> 00:04:40.00
constrains the angle of the line

130
00:04:40.00 --> 00:04:42.04
to a multiple of 45 degrees,

131
00:04:42.04 --> 00:04:43.09
which includes of course

132
00:04:43.09 --> 00:04:47.03
vertical and horizontal lines as well,

133
00:04:47.03 --> 00:04:49.06
but again, you've got to
keep that shift key down.

134
00:04:49.06 --> 00:04:51.01
If you release the shift key,

135
00:04:51.01 --> 00:04:53.03
the constraint is going to go away.

136
00:04:53.03 --> 00:04:57.02
So, because I want an absolutely
horizontal line, let's say,

137
00:04:57.02 --> 00:04:58.08
I'm going to keep that shift key down

138
00:04:58.08 --> 00:05:01.06
until after I release the mouse button.

139
00:05:01.06 --> 00:05:03.04
Now, in addition to
actually drawing the line

140
00:05:03.04 --> 00:05:05.01
by dragging inside the document,

141
00:05:05.01 --> 00:05:06.08
you can click with the Line Tool

142
00:05:06.08 --> 00:05:09.01
in order to bring up a dialog box

143
00:05:09.01 --> 00:05:12.04
that allows you to
specify exact dimensions.

144
00:05:12.04 --> 00:05:14.06
And again, that's just
a click with the tool.

145
00:05:14.06 --> 00:05:17.07
And let's say I want the
length to be 300 points.

146
00:05:17.07 --> 00:05:19.01
I could just enter that in there,

147
00:05:19.01 --> 00:05:23.06
or I could enter something like 2.5"

148
00:05:23.06 --> 00:05:26.05
in order to create a two
and a half inch line,

149
00:05:26.05 --> 00:05:28.09
and then, that way, as soon
as I press the tab key,

150
00:05:28.09 --> 00:05:32.04
Illustrator automatically
converts the inches to points.

151
00:05:32.04 --> 00:05:35.05
Now, I'll enter an angle
value of let's say 45 degrees,

152
00:05:35.05 --> 00:05:38.05
and I'll click OK in
order to create a line

153
00:05:38.05 --> 00:05:41.08
by the numbers like so.

154
00:05:41.08 --> 00:05:43.05
Alright, so much for creating lines.

155
00:05:43.05 --> 00:05:45.07
Now let's see how you can edit them.

156
00:05:45.07 --> 00:05:47.02
Notice if you move your cursor

157
00:05:47.02 --> 00:05:49.01
over one of these points right here,

158
00:05:49.01 --> 00:05:50.08
you're going to get a little arrowhead,

159
00:05:50.08 --> 00:05:53.05
which tells you that you
can drag these points

160
00:05:53.05 --> 00:05:56.05
in order to manipulate them like so,

161
00:05:56.05 --> 00:05:58.09
and if you drag while pressing the alt key

162
00:05:58.09 --> 00:06:00.06
or the option key in the Mac,

163
00:06:00.06 --> 00:06:03.04
then you're going to
expand or contract the line

164
00:06:03.04 --> 00:06:05.07
with respect to its center point

165
00:06:05.07 --> 00:06:08.00
as we're seeing right here.

166
00:06:08.00 --> 00:06:10.02
You also have the option
of moving the line

167
00:06:10.02 --> 00:06:11.05
to a different location,

168
00:06:11.05 --> 00:06:13.08
which you do by hovering your cursor

169
00:06:13.08 --> 00:06:15.04
not over the line itself

170
00:06:15.04 --> 00:06:18.05
but rather over that
center point right there,

171
00:06:18.05 --> 00:06:20.00
at which point, once again,

172
00:06:20.00 --> 00:06:21.07
your cursor will change to an arrowhead,

173
00:06:21.07 --> 00:06:24.03
which tells you that you
can drag the entire line

174
00:06:24.03 --> 00:06:25.09
to a new location.

175
00:06:25.09 --> 00:06:27.08
And then, one more thing you can do,

176
00:06:27.08 --> 00:06:29.03
just so you know all your options,

177
00:06:29.03 --> 00:06:32.00
you can hover your cursor
very close to an endpoint,

178
00:06:32.00 --> 00:06:34.00
not quite on it, at which point

179
00:06:34.00 --> 00:06:35.07
you'll get this rotate cursor

180
00:06:35.07 --> 00:06:38.06
and then if you drag,
you're going to once again

181
00:06:38.06 --> 00:06:41.00
rotate the line around its center

182
00:06:41.00 --> 00:06:43.03
without changing its length.

183
00:06:43.03 --> 00:06:46.00
So it's just a straight ahead rotation.

184
00:06:46.00 --> 00:06:48.03
And those, my friends, are the many ways

185
00:06:48.03 --> 00:06:50.02
to use the Line Segment Tool

186
00:06:50.02 --> 00:06:54.03
here inside the most recent
version of Illustrator CC.

