1
00:00:00.05 --> 00:00:03.03
- In this movie, we're going to
draw with rounded rectangles.

2
00:00:03.03 --> 00:00:05.08
Specifically, we're going
to create this iPhone 6,

3
00:00:05.08 --> 00:00:09.05
along with it's case and then
the phone inside of it's case.

4
00:00:09.05 --> 00:00:12.03
It's a pretty simple project
but it helps to demonstrate

5
00:00:12.03 --> 00:00:16.01
the power of rounded shapes
here inside Illustrator.

6
00:00:16.01 --> 00:00:18.05
I'm going to start things
off, as usual, by going up to

7
00:00:18.05 --> 00:00:21.00
the 'File' menu and choosing
'New From Template',

8
00:00:21.00 --> 00:00:23.06
or you can press that
shortcut of Ctrl+Shift+N or

9
00:00:23.06 --> 00:00:25.07
Command+Shift+N on the Mac and then I'll

10
00:00:25.07 --> 00:00:28.00
double click on my template
in order to create an

11
00:00:28.00 --> 00:00:31.02
empty art board along with
a couple of center guides.

12
00:00:31.02 --> 00:00:33.09
I want to add two more
vertical guides that exactly

13
00:00:33.09 --> 00:00:37.04
divide up the left and right
portions of the art board.

14
00:00:37.04 --> 00:00:39.05
I'll go ahead and click
on the 'Guides' layer to

15
00:00:39.05 --> 00:00:42.05
make it active and then I'll
press Ctrl+R or Command+R

16
00:00:42.05 --> 00:00:44.06
on a Mac to bring up the rulers.

17
00:00:44.06 --> 00:00:47.08
For this project we're
going to switch to inches.

18
00:00:47.08 --> 00:00:50.02
You can change the units
on a document by document

19
00:00:50.02 --> 00:00:53.06
basis just by right clicking
on either ruler and then

20
00:00:53.06 --> 00:00:56.05
choosing the desired unit of
measure, which, in our case,

21
00:00:56.05 --> 00:00:57.09
is inches.

22
00:00:57.09 --> 00:01:01.01
Now I'll drag a vertical guide
from the left hand ruler,

23
00:01:01.01 --> 00:01:04.03
I'm going to press the shift
key so that I'm snapping into

24
00:01:04.03 --> 00:01:06.01
alignment with those tick marks.

25
00:01:06.01 --> 00:01:09.01
Then I'll drop that guide
at three and a half inches,

26
00:01:09.01 --> 00:01:11.02
you can tell it's at three
and a half because it's midway

27
00:01:11.02 --> 00:01:14.08
between the three and the
four in the horizontal ruler

28
00:01:14.08 --> 00:01:16.03
at the top of the screen.

29
00:01:16.03 --> 00:01:18.09
Now I'll drag another guide
from that left hand ruler,

30
00:01:18.09 --> 00:01:21.02
while pressing the shift
key, and I'll drop it at

31
00:01:21.02 --> 00:01:24.01
10 and a half inches,
which, of course is midway

32
00:01:24.01 --> 00:01:27.07
between the 10 and the 11
on that horizontal ruler.

33
00:01:27.07 --> 00:01:30.04
Now that I'm done with the
ruler I'll press Ctrl+R or

34
00:01:30.04 --> 00:01:33.00
Command+R on a Mac in order to hide it.

35
00:01:33.00 --> 00:01:35.02
Now I'll go ahead and click
on the 'Drawing' layer

36
00:01:35.02 --> 00:01:38.04
to make it active and I'll
select my rectangle tool

37
00:01:38.04 --> 00:01:40.07
from the 'Shape Tool' fly
out menu and remember that

38
00:01:40.07 --> 00:01:43.06
you can also get this tool
by pressing the M key.

39
00:01:43.06 --> 00:01:46.07
Now I'll go ahead and hover my
cursor over the intersection

40
00:01:46.07 --> 00:01:50.05
between these two guides
right here and I'll press the

41
00:01:50.05 --> 00:01:54.07
'Alt' key or the 'Option' key
on a Mac and click in order to

42
00:01:54.07 --> 00:01:56.08
bring up the rectangle dialog box.

43
00:01:56.08 --> 00:01:59.03
Make sure that the link is
turned off and then you want to

44
00:01:59.03 --> 00:02:03.01
dial in 2.64 for the width value

45
00:02:03.01 --> 00:02:06.04
and 5.44for the height value.

46
00:02:06.04 --> 00:02:08.07
The reason I know these values
is because they're posted

47
00:02:08.07 --> 00:02:10.06
on Apples website.

48
00:02:10.06 --> 00:02:14.01
I'll go ahead and click 'OK'
and because I Alt clicked it

49
00:02:14.01 --> 00:02:17.00
or Option clicked on the
Mac, I've created a rectangle

50
00:02:17.00 --> 00:02:19.02
that's centered on those guides.

51
00:02:19.02 --> 00:02:23.00
The thing that isn't posted
on Apple's site is how round

52
00:02:23.00 --> 00:02:24.05
the corners are.

53
00:02:24.05 --> 00:02:27.01
I basically had to measure
that using a ruler.

54
00:02:27.01 --> 00:02:30.03
As I was telling you, a
round corner is essentially

55
00:02:30.03 --> 00:02:33.00
an arc of specific dimensions.

56
00:02:33.00 --> 00:02:35.07
If the arc is a half inch
tall then we would need

57
00:02:35.07 --> 00:02:38.04
a half inch radius for our rounded corner.

58
00:02:38.04 --> 00:02:39.09
It's pretty much that simple.

59
00:02:39.09 --> 00:02:42.06
As it turns out the round
corner for an iPhone

60
00:02:42.06 --> 00:02:46.05
isn't quite a half an
inch, it's more like 0.4.

61
00:02:46.05 --> 00:02:49.02
I went ahead and pressed
the A key to switch to the

62
00:02:49.02 --> 00:02:52.01
white arrow tool and that
allows me access to the

63
00:02:52.01 --> 00:02:54.04
corners option up here
in the control panel,

64
00:02:54.04 --> 00:02:56.07
which allows me to change
that corner numerically

65
00:02:56.07 --> 00:03:00.02
to 0.4 inches, like so.

66
00:03:00.02 --> 00:03:03.03
Now I'm going to go ahead and
zoom in on the iPhone here

67
00:03:03.03 --> 00:03:06.00
by Ctrl+Spacebar clicking,
that's a Command+Spacebar click

68
00:03:06.00 --> 00:03:07.01
on the Mac.

69
00:03:07.01 --> 00:03:09.09
Let's go ahead and assign a
few fill and stroke attributes.

70
00:03:09.09 --> 00:03:12.07
I'll first change the fill by
clicking on the first swatch,

71
00:03:12.07 --> 00:03:15.03
up here in the control
panel and clicking on black.

72
00:03:15.03 --> 00:03:17.08
Then I'll increase the line
weight value to two points

73
00:03:17.08 --> 00:03:20.06
and I'll change the color of
that stroke by clicking on

74
00:03:20.06 --> 00:03:23.08
a second color swatch and
changing it to a medium grey

75
00:03:23.08 --> 00:03:27.03
in which all the RGB values are 128.

76
00:03:27.03 --> 00:03:31.02
Now I want to add a little bit
of a gradient to this stroke.

77
00:03:31.02 --> 00:03:33.03
I'll go up to the 'Window'
menu and choose the

78
00:03:33.03 --> 00:03:35.06
'Appearance' command in
order to switch over to the

79
00:03:35.06 --> 00:03:37.07
' Appearance' panel and I'll click on the

80
00:03:37.07 --> 00:03:39.05
'Add New Stroke' icon down here in the

81
00:03:39.05 --> 00:03:41.02
lower left corner of the panel.

82
00:03:41.02 --> 00:03:45.01
I'll change that new stroke,
right there, the one on top

83
00:03:45.01 --> 00:03:48.01
to this white/black
gradient, which is one of the

84
00:03:48.01 --> 00:03:50.04
default swatches that
are included along with a

85
00:03:50.04 --> 00:03:52.06
basic RGB document.

86
00:03:52.06 --> 00:03:55.03
This gradient happens to be
going at the wrong direction

87
00:03:55.03 --> 00:03:57.07
notice that it's going from right to left?

88
00:03:57.07 --> 00:04:01.06
I want it to go from up to
down and to make that happen

89
00:04:01.06 --> 00:04:03.06
you want to go to the
'Window' menu and choose the

90
00:04:03.06 --> 00:04:05.03
'Gradient' command.

91
00:04:05.03 --> 00:04:07.03
That brings up the gradient
panel as we're seeing

92
00:04:07.03 --> 00:04:08.04
right here.

93
00:04:08.04 --> 00:04:11.04
Next I'll go ahead and click
on this double arrow icon

94
00:04:11.04 --> 00:04:14.04
a couple of times to expand
the panel so that I can see

95
00:04:14.04 --> 00:04:15.07
this angle value.

96
00:04:15.07 --> 00:04:18.07
I'm going to change
that angle to 90 degrees

97
00:04:18.07 --> 00:04:21.01
and press the 'Enter' key
or the 'Return' key on a Mac

98
00:04:21.01 --> 00:04:22.09
and you can now see that
the gradient goes from black

99
00:04:22.09 --> 00:04:25.08
at the top to white at the bottom.

100
00:04:25.08 --> 00:04:28.02
I still want to be able
to see the grey stroke

101
00:04:28.02 --> 00:04:29.04
in the background.

102
00:04:29.04 --> 00:04:31.09
I'll drop down to the 'Appearance' panel,

103
00:04:31.09 --> 00:04:34.02
click on the word 'Opacity' that's part of

104
00:04:34.02 --> 00:04:37.01
the top stroke right there
and then I'll change that

105
00:04:37.01 --> 00:04:39.05
opacity value to 50%.

106
00:04:39.05 --> 00:04:42.00
That gives us a 50/50 mix of the gradient

107
00:04:42.00 --> 00:04:44.01
and the grey stroke behind it.

108
00:04:44.01 --> 00:04:46.02
Finally, I want to set
this shape off from it's

109
00:04:46.02 --> 00:04:48.08
white background by
giving it a drop shadow.

110
00:04:48.08 --> 00:04:51.01
I can do that by going
up to the 'Effect' menu,

111
00:04:51.01 --> 00:04:54.03
choosing 'Stylize' and then
choosing 'Drop Shadow'.

112
00:04:54.03 --> 00:04:56.07
These are the values I came up with,

113
00:04:56.07 --> 00:05:00.02
an opacity of 75%, the color set to black,

114
00:05:00.02 --> 00:05:02.04
we have an X offset of 0 inches

115
00:05:02.04 --> 00:05:04.03
so the shadows going straight down,

116
00:05:04.03 --> 00:05:07.00
the Y offset is 0.1
inch and then we've got

117
00:05:07.00 --> 00:05:10.03
a blur value of 0.1 inch
as well and we can see

118
00:05:10.03 --> 00:05:12.09
what that looks like by
turning on a preview checkbox

119
00:05:12.09 --> 00:05:15.07
only we're not seeing anything
and that's because I've

120
00:05:15.07 --> 00:05:17.02
made a tiny mistake here.

121
00:05:17.02 --> 00:05:19.08
I'm going to go ahead
and click 'OK' however.

122
00:05:19.08 --> 00:05:22.00
The problem is that I
had the stroke selected,

123
00:05:22.00 --> 00:05:24.04
so I just applied the
drop shadow to the stroke

124
00:05:24.04 --> 00:05:26.03
instead of the entire path.

125
00:05:26.03 --> 00:05:29.02
You can remedy this situation
by first, in my case,

126
00:05:29.02 --> 00:05:31.05
reducing the size of the
gradient panel so I have

127
00:05:31.05 --> 00:05:34.05
a little more room to work,
and then go ahead and click

128
00:05:34.05 --> 00:05:37.06
on that drop shadow to select
it, and drag it all the way

129
00:05:37.06 --> 00:05:40.05
to the bottom of the stack,
underneath the fill and

130
00:05:40.05 --> 00:05:42.09
directly above that opacity value,

131
00:05:42.09 --> 00:05:44.07
to this point right there.

132
00:05:44.07 --> 00:05:47.02
That will go ahead and
assign the drop shadow to the

133
00:05:47.02 --> 00:05:50.01
entire path outline as we're seeing here.

134
00:05:50.01 --> 00:05:52.03
At which point you can go
ahead and click off the shape

135
00:05:52.03 --> 00:05:53.08
to deselect it.

136
00:05:53.08 --> 00:05:56.09
That's at least one way to
draw with a rounded rectangle.

137
00:05:56.09 --> 00:05:59.04
In the next movie we'll
add the screen as well as

138
00:05:59.04 --> 00:06:01.09
the other elements of an iPhone.

