1
00:00:00.05 --> 00:00:02.02
- [Voiceover] In this movie, I'll show you

2
00:00:02.02 --> 00:00:04.06
how to change the Roundness
of the Corners of a rectangle.

3
00:00:04.06 --> 00:00:06.05
And we'll do so dynamically,

4
00:00:06.05 --> 00:00:09.03
so you change your mind any time you like.

5
00:00:09.03 --> 00:00:13.03
I'm gonna start off by zooming
in on this handle like so.

6
00:00:13.03 --> 00:00:15.04
And then, I'll click on it to select it

7
00:00:15.04 --> 00:00:17.01
with the Black Arrow Tool.

8
00:00:17.01 --> 00:00:18.09
And now, assuming you're working in

9
00:00:18.09 --> 00:00:21.00
the most recent version of the software,

10
00:00:21.00 --> 00:00:22.02
go up to the View menu

11
00:00:22.02 --> 00:00:25.09
and choose Show Bounding Box
to turn on the Bounding Box

12
00:00:25.09 --> 00:00:28.03
so that you can see your standard handles,

13
00:00:28.03 --> 00:00:31.02
which of course you can drag
in order to scale the shape.

14
00:00:31.02 --> 00:00:33.03
That's not what I wanna
do at all, however.

15
00:00:33.03 --> 00:00:35.05
Instead, I wanna take advantage

16
00:00:35.05 --> 00:00:38.03
of these Round Corner
widgets, right there.

17
00:00:38.03 --> 00:00:39.05
So notice this circle.

18
00:00:39.05 --> 00:00:42.01
If I go ahead and drag it inward,

19
00:00:42.01 --> 00:00:44.08
I will change the Roundness
of the rectangle on the fly.

20
00:00:44.08 --> 00:00:47.03
And because I have my
Smart Guides turned on,

21
00:00:47.03 --> 00:00:50.03
I can see exactly how much
Roundness I'm applying

22
00:00:50.03 --> 00:00:52.07
in that Heads Up Display.

23
00:00:52.07 --> 00:00:55.08
Now, what's great about this
is that it's a dynamic effect.

24
00:00:55.08 --> 00:00:58.01
So if I were to click off the
shape in order to deselect it,

25
00:00:58.01 --> 00:01:01.01
and then click on the shape
again, in order to select it,

26
00:01:01.01 --> 00:01:03.07
I will still have access to those widgets.

27
00:01:03.07 --> 00:01:06.07
And so if you drag it all the
way back up to the corner,

28
00:01:06.07 --> 00:01:09.06
so that the R Value is 0, like so,

29
00:01:09.06 --> 00:01:12.07
even though it's appearing to
pop into a different location,

30
00:01:12.07 --> 00:01:15.01
I'm still going to restore those corners

31
00:01:15.01 --> 00:01:16.08
to their full sharpness.

32
00:01:16.08 --> 00:01:19.02
All right, but what I wanna
do is take this guy out

33
00:01:19.02 --> 00:01:22.08
until the Roundness Value
right there reads 6 points

34
00:01:22.08 --> 00:01:24.09
is what I'm looking for, after which,

35
00:01:24.09 --> 00:01:27.06
I'll just go ahead and
release to accept that change.

36
00:01:27.06 --> 00:01:29.09
All right, now I'm gonna
zoom in a little bit here.

37
00:01:29.09 --> 00:01:31.02
And I want you to see how you can

38
00:01:31.02 --> 00:01:33.06
change the Roundness Value numerically.

39
00:01:33.06 --> 00:01:37.02
So I'm gonna go ahead and
select this path right here.

40
00:01:37.02 --> 00:01:39.06
And I'm not even seeing
its Round Corner widgets,

41
00:01:39.06 --> 00:01:42.00
so I'm gonna have to zoom farther in.

42
00:01:42.00 --> 00:01:44.00
But it still might be
difficult for me to apply

43
00:01:44.00 --> 00:01:47.05
2 points of Roundness, which
is what I'm looking for.

44
00:01:47.05 --> 00:01:50.03
And so, if you're having
problems at any point in time,

45
00:01:50.03 --> 00:01:53.01
just go ahead and double-click
on one of those widgets

46
00:01:53.01 --> 00:01:55.03
to open the Transform panel.

47
00:01:55.03 --> 00:01:57.08
Now you should see the entire panel.

48
00:01:57.08 --> 00:01:59.06
If you don't, if some part of it's hidden,

49
00:01:59.06 --> 00:02:01.06
then click on this double-arrow icon

50
00:02:01.06 --> 00:02:03.07
to the left of the word Transform

51
00:02:03.07 --> 00:02:07.05
as many times as it takes
to reinstate the full panel,

52
00:02:07.05 --> 00:02:12.00
like so, and then notice we
have these Round Corner controls

53
00:02:12.00 --> 00:02:15.03
each of which affects a different corner.

54
00:02:15.03 --> 00:02:17.04
Notice that they're linked
together by default,

55
00:02:17.04 --> 00:02:20.07
so if I were to change one
of these values to 2 points

56
00:02:20.07 --> 00:02:22.06
and then press the Tab key,

57
00:02:22.06 --> 00:02:24.07
they're all going to change to 2 points,

58
00:02:24.07 --> 00:02:27.04
which works fine for
this particular shape.

59
00:02:27.04 --> 00:02:28.07
All right, I'm gonna go ahead

60
00:02:28.07 --> 00:02:30.02
and hide that panel for a moment,

61
00:02:30.02 --> 00:02:31.07
and then, I'll scroll over

62
00:02:31.07 --> 00:02:34.03
so that I can see the opposite rectangle.

63
00:02:34.03 --> 00:02:36.04
And we're gonna modify
it in just a moment.

64
00:02:36.04 --> 00:02:38.05
But first, I wanna duplicate this guy

65
00:02:38.05 --> 00:02:41.05
by pressing the Enter key,
or the Return key on the Mac,

66
00:02:41.05 --> 00:02:43.06
which because the Black
Arrow Tool is active,

67
00:02:43.06 --> 00:02:45.05
brings up the Move dialog box.

68
00:02:45.05 --> 00:02:48.01
And I'm gonna change this
Horizontal Value to 12,

69
00:02:48.01 --> 00:02:50.06
and I'll leave the
Vertical Value set to zero.

70
00:02:50.06 --> 00:02:53.06
And rather than moving the
shape, I wanna copy it.

71
00:02:53.06 --> 00:02:55.02
So I'll click the Copy button,

72
00:02:55.02 --> 00:02:57.06
or I can press Alt + Enter here on a PC,

73
00:02:57.06 --> 00:03:00.01
or Opt + Return on a Mac.

74
00:03:00.01 --> 00:03:02.00
All right, now I'm gonna
create a copy of this guy

75
00:03:02.00 --> 00:03:04.04
by dragging it from the right side,

76
00:03:04.04 --> 00:03:05.08
not from the handle, by the way,

77
00:03:05.08 --> 00:03:08.06
but from one of the two right sides

78
00:03:08.06 --> 00:03:10.03
above and below the handle,

79
00:03:10.03 --> 00:03:12.05
and I'll go ahead and
drag it all the way over

80
00:03:12.05 --> 00:03:15.08
so that it snaps into
alignment with the left edge

81
00:03:15.08 --> 00:03:18.00
of that other thin rectangle.

82
00:03:18.00 --> 00:03:20.01
And I'm pressing the
Shift key, by the way,

83
00:03:20.01 --> 00:03:23.01
to constrain the angle of my
drag to exactly horizontal.

84
00:03:23.01 --> 00:03:25.00
I'm also gonna press the Alt key,

85
00:03:25.00 --> 00:03:26.06
or the Opt key on the Mac,

86
00:03:26.06 --> 00:03:29.05
so I have both Shift and Alt
keys down here on the PC,

87
00:03:29.05 --> 00:03:31.02
that Shift + Opt on the Mac,

88
00:03:31.02 --> 00:03:33.02
so that I'm seeing that double-arrowhead,

89
00:03:33.02 --> 00:03:35.06
which tells me that I'm gonna
make copy of this shape,

90
00:03:35.06 --> 00:03:39.02
like so, and then I'll press
the left arrow key four times,

91
00:03:39.02 --> 00:03:41.08
one, two, three, four, like so,

92
00:03:41.08 --> 00:03:45.02
in order to scoot that shape
a little bit to the left.

93
00:03:45.02 --> 00:03:46.07
All right, now I wanna grab this guy,

94
00:03:46.07 --> 00:03:49.06
and I'm gonna zoom in even father in.

95
00:03:49.06 --> 00:03:51.09
And again, I wanna round
this guy to 2 points

96
00:03:51.09 --> 00:03:53.04
so I'll just go ahead and double-click

97
00:03:53.04 --> 00:03:55.04
on any of these Round Corner widgets,

98
00:03:55.04 --> 00:03:59.03
and I will change this
guy to 2 points, like so.

99
00:03:59.03 --> 00:04:01.01
Now something I want you to notice,

100
00:04:01.01 --> 00:04:03.00
if I zoom in even farther,

101
00:04:03.00 --> 00:04:04.09
just want you to see this really quick,

102
00:04:04.09 --> 00:04:08.09
is that we have the option of
changing the Style of Corner,

103
00:04:08.09 --> 00:04:11.09
and you do that by clicking on
this little icon right there,

104
00:04:11.09 --> 00:04:15.07
and changing it from rounding
outward to rounding inward,

105
00:04:15.07 --> 00:04:18.00
like so, so that's totally an option,

106
00:04:18.00 --> 00:04:20.05
and then you can modify
the Roundness on the fly

107
00:04:20.05 --> 00:04:23.01
by dragging one of these circular widgets.

108
00:04:23.01 --> 00:04:25.08
But notice as I do, that the other corner

109
00:04:25.08 --> 00:04:27.06
is independently rounded,

110
00:04:27.06 --> 00:04:30.07
so each one of these Corner controls

111
00:04:30.07 --> 00:04:33.00
affects a single Round Corner,

112
00:04:33.00 --> 00:04:34.09
even if they're all linked together.

113
00:04:34.09 --> 00:04:38.02
Your other option is to apply a chamfer,

114
00:04:38.02 --> 00:04:39.05
which looks like this,

115
00:04:39.05 --> 00:04:41.05
so it's just gonna be a straight bevel,

116
00:04:41.05 --> 00:04:44.07
and that's another thing that
you can modify on the fly.

117
00:04:44.07 --> 00:04:48.05
So you can scoot that bevel
outward or inward, to taste.

118
00:04:48.05 --> 00:04:49.09
All right, but I really want

119
00:04:49.09 --> 00:04:52.04
to stick with an outwardly rounded corner,

120
00:04:52.04 --> 00:04:55.01
and I want all these guys to be 2 points,

121
00:04:55.01 --> 00:04:57.02
but notice that we have a problem here.

122
00:04:57.02 --> 00:05:00.03
This inner edge right here
should not be rounding.

123
00:05:00.03 --> 00:05:02.00
I want it to be straight.

124
00:05:02.00 --> 00:05:04.05
And so, I'm gonna turn
off the Chain right there,

125
00:05:04.05 --> 00:05:07.04
the Link control, and I'm
gonna change both of these

126
00:05:07.04 --> 00:05:09.08
right hand corners to 0,

127
00:05:09.08 --> 00:05:13.02
which gives me exactly the
effect I'm looking for.

128
00:05:13.02 --> 00:05:15.03
All right, I'm gonna
zoom out here like so,

129
00:05:15.03 --> 00:05:18.02
and I actually wanna zoom
a little farther out,

130
00:05:18.02 --> 00:05:20.09
so that I can take in this black handle,

131
00:05:20.09 --> 00:05:23.09
and as you may recall from
our final illustration,

132
00:05:23.09 --> 00:05:26.08
I'm looking for this end of the handle

133
00:05:26.08 --> 00:05:29.03
to round significantly outward,

134
00:05:29.03 --> 00:05:30.09
much more than the other side.

135
00:05:30.09 --> 00:05:33.09
And that's gonna create a
kind of forced perspective.

136
00:05:33.09 --> 00:05:36.07
And so what we really wanna
do is modify these two

137
00:05:36.07 --> 00:05:40.06
left hand corners independently
of the right ones.

138
00:05:40.06 --> 00:05:43.01
And I wanna do so just by dragging.

139
00:05:43.01 --> 00:05:44.09
And we know that you can just double-click

140
00:05:44.09 --> 00:05:46.03
on one of these Corners,

141
00:05:46.03 --> 00:05:48.04
and because they're no
longer linked to each other,

142
00:05:48.04 --> 00:05:51.04
I could just change this guy
to something like 12 points,

143
00:05:51.04 --> 00:05:53.04
let's say, and press the Enter key,

144
00:05:53.04 --> 00:05:56.02
or the Return key on a
Mac, to apply that change.

145
00:05:56.02 --> 00:05:59.06
But then notice that if I start dragging,

146
00:05:59.06 --> 00:06:03.01
all of the corners are
rounding, relative to this one.

147
00:06:03.01 --> 00:06:06.02
So, this top left corner
is still rounding more

148
00:06:06.02 --> 00:06:09.07
than the other three, but
they are rounding together.

149
00:06:09.07 --> 00:06:12.05
That's not really what I want,
so I'll press Control + Z,

150
00:06:12.05 --> 00:06:14.09
or Command + Z on a
Mac, a couple of times,

151
00:06:14.09 --> 00:06:17.00
in order to Undo that change.

152
00:06:17.00 --> 00:06:19.05
And I'll go ahead and switch
from the Black Arrow Tool

153
00:06:19.05 --> 00:06:22.09
to the White Arrow, which I
can get by pressing the a key.

154
00:06:22.09 --> 00:06:24.09
And a great thing about the White Arrow

155
00:06:24.09 --> 00:06:26.04
is that it allows you

156
00:06:26.04 --> 00:06:30.00
to modify different corners
independently of each other.

157
00:06:30.00 --> 00:06:31.08
And we're gonna see in a future chapter

158
00:06:31.08 --> 00:06:34.08
just how incredibly useful that can be.

159
00:06:34.08 --> 00:06:36.06
But for now, I'm just gonna go ahead

160
00:06:36.06 --> 00:06:38.01
and marquee these two corners,

161
00:06:38.01 --> 00:06:41.00
so that they're selected
independently of the other two,

162
00:06:41.00 --> 00:06:43.08
and I'll go ahead and
drag this widget down

163
00:06:43.08 --> 00:06:47.01
and you can see I am now only affecting

164
00:06:47.01 --> 00:06:48.06
the left hand corners.

165
00:06:48.06 --> 00:06:51.00
And I'm gonna drag it as far as it goes.

166
00:06:51.00 --> 00:06:54.06
And notice, I can't go any
farther than 32 points,

167
00:06:54.06 --> 00:06:59.00
which makes absolute sense
given that as you may recall,

168
00:06:59.00 --> 00:07:01.09
and I'll bring up the Transform
panel just so we can see,

169
00:07:01.09 --> 00:07:04.05
that the shape is 64 points tall.

170
00:07:04.05 --> 00:07:06.07
And so half of 64 is 32,

171
00:07:06.07 --> 00:07:08.04
and so you can only Round the Corner

172
00:07:08.04 --> 00:07:10.09
to half the width or the height,

173
00:07:10.09 --> 00:07:14.02
whatever is the smallest of a given shape.

174
00:07:14.02 --> 00:07:17.01
At which point, I'll go ahead
and hide the Transform panel,

175
00:07:17.01 --> 00:07:19.01
I'll click off the shape to deselect it

176
00:07:19.01 --> 00:07:21.07
and I'll press Ctrl + 0,
or Command + 0 on the Mac

177
00:07:21.07 --> 00:07:23.06
to center my zoom.

178
00:07:23.06 --> 00:07:26.01
And that's how you Round
the Corners of a rectangle,

179
00:07:26.01 --> 00:07:28.05
whether you draw it
with the Rectangle Tool

180
00:07:28.05 --> 00:07:31.05
or the neighboring Rounded Rectangle Tool,

181
00:07:31.05 --> 00:07:33.01
it doesn't matter at all.

182
00:07:33.01 --> 00:07:35.08
And you can do so entirely dynamically

183
00:07:35.08 --> 00:07:39.06
so you can change your
mind any time you like.

