- In this movie we'll draw the face of the iPhone,
which by the way is just a bunch of shapes and some text.
The only exception is this stylized flower,
which I created in advance.
Alright, so here we are looking at the rounded rectangle
that we drew in the previous movie.
And I'm going to start things off by adding the screen,
which I'll do using the standard Rectangle Tool once again.
Which you can get by pressing the M key.
I want the screen to be centered,
so I'll alt + click, or opt + click
at the intersection of those two guide lines
to bring up the Rectangle dialog box.
Now Apple advertises the iPhone 6 screen
as being 4.7 inches,
but that's a diagonal measurement.
So the only way to figure out the exact height and width
was to measure the screen.
Now I did so to the nearest 16th of an inch.
Now the good news is that Illustrator will do math for you,
but it currently doesn't do more than
one arithmetic operation at a time.
Now for example, I know that the screen is 2 5/16 wide
and so in a perfect world I would be able to enter
2+5/16
and then press the tab key
in order to have Illustrator do the math.
But you may have noticed it didn't do anything,
it just went ahead and ignored me.
So what I have to do is enter 5/16 first
and then press the tab key
and let Illustrator do the math.
And now I know that the Height is 4 1/8 inch,
so I'll enter 1/8
and have Illustrator do the math on that as well.
And then I'll click after the Width value
and enter +2,
that's one way to work anyway.
And then I'll tab to the Height value
and enter +4 for it
and press tab to have that math done.
So again, as things currently stand,
you never know if they're going to change,
you can only do one arithmetic operation at a time
inside Illustrator.
Anyway, these are the values we're looking for,
2.3125 wide and 4.125 tall.
After which point I'll go ahead and click OK
to create that rectangle
and we end up with this shape here.
Now currently it has that same black fill,
that's not what I want.
So I'll go ahead and change the stroke right here to None.
And then I'll click in this first swatch to change the fill
and I'll select this Blue Sky gradient right here
in order to fill the rectangle with this gradient,
which goes from a light blue to transparent.
At which point I'll go ahead and press the escape key
to hide that panel.
Alright, once again the angle of the gradient is wrong.
Fortunately my Gradient panel is still up on screen,
but I need to go ahead and expand it
by clicking on that double arrow icon a couple of times.
And once again, I'll change that Angle value right there
to 90 degrees and press the enter key,
or the return key on the Mac,
to make the gradient flow from the bottom
to the top of my rectangle.
Alright, next I created the home button
using the Ellipse Tool.
To do so I'll go ahead and select the Ellipse Tool
from the shape tool fly out menu.
And then I'll go ahead and zoom in here
until I've very close to the bottom of my artwork.
And I'll go up to the View menu
and make sure the Smart Guides command is turned on,
which in my case it is not,
so I'll go ahead and choose the command.
And then I'll hover my cursor at the intersection
of this vertical guide and the bottom of the rectangle
and I will alt or option + click
to bring up the Ellipse dialog box.
The home button happens to measure
about 3/8 of an inch in both directions.
Currently both my Width and Height values are the same,
and so I'm going to lock them down here,
by clicking on this little chain icon.
And then I'll click on the word Width
and I'll enter 3/8 and press the tab key.
And both values will update in kind.
Although apparently not exactly in kind,
because we're off just a little bit
here in the Height value.
And so I'll go ahead and turn that link off,
my bad I guess,
and I'll change this value to 0.375 like so,
and I'll click OK in order to create that circle.
Alright, now this shape doesn't need any fill,
so I'll click on the first color swatch
in the control panel, change it to None.
And then I'll dial in light weight value of 2 points.
Notice in my case that the stroke
immediately defaults to the gradient,
which is exactly what I want.
And I want it to go in this direction as well,
but if you're not seeing it in that direction,
then go ahead and click on the Stroke
here inside the Gradient panel
and make sure that it's set to -90 degrees.
Alright, now I want to center this circle
exactly inside of this bottom portion of the iPhone.
And the easiest way to make that happen
is to drag the shape by its center point
while pressing the shift key to constrain
the angle of your drag to exactly vertical,
until it intersects with the bottom
of the rounded rectangle like so.
At which point go ahead and release.
And now what you want to do is press the enter key,
or the return key on the Mac,
in order to bring up the Move dialog box.
And that will show you the exact details
of your previous move.
And so now all you need to do
is set the Vertical value to a negative version of itself
and then go ahead and click after the value
and enter /2 in order to divide that value in half.
And that way you're moving back half the distance
you moved a moment ago.
And then go ahead and click the OK button
in order to accept that change.
And then go up to the Opacity value
up here in the control panel and change it to 75%.
And that'll give you an effect that's similar to the stroke
around the outside of the iPhone.
Alright, now I'm going to go ahead
and click off the shape to deselect it.
And I'll scroll upward to the top of the phone.
Alright, now we want to draw the horizontal slit
that serves as the audio port.
As well as the front facing camera.
And I want them to be centered inside of this area,
but we can't really see where the screen starts,
and so I'm going to go up to the View menu
and choose the Outline command,
or I can press ctrl + Y, or cmd + Y on the Mac,
and that way I can better see what I'm doing.
Alright, now I'll switch to the Line Segment Tool,
which you can select from the line tool fly out menu,
and then I'll just go ahead and click any old place
inside my artwork.
And I'll set the Length value once again
to 3/8 of an inch, so 3/8.
And I want the Angle value to be 0 degrees.
At which point I'll click OK in order to create that line.
It does not want to be a gradient however,
so I'll click on the Stroke swatch
and I'll set it to this dark grey right here,
in which all the RGB values are 77.
And now I'll increase the Stroke value to 3 points,
which will make a difference as soon
as we're seeing this stroke in the outline mode.
We're also going to need some round caps,
and so I'll click on the word Stroke
and select the Round Cap from the Cap options here,
and then I'll press the escape key
in order to make that change.
Alright, now I need to be able to center
this stroke on this guide line.
And the easiest way to do that
is to find the center of the line in the first place,
which we can do by going up to the Window menu
and choosing the Attributes command
in order to bring up the Attributes panel.
If all you're seeing is the Overprint options here,
then click on this double arrowhead icon
to expand the panel,
and then click on this second icon, Show Center,
in order to add a center point to the line.
After which point you can go ahead
and hide the Attributes panel.
Alright, now I'm going to switch back
to my black arrow tool,
which of course I can get by pressing the V key,
and I'll drag this line by its center point
until it snaps into alignment with the top of the iPhone.
Now I want it to be centered as well,
so I'm going to go ahead and drag it down,
while pressing the shift key
until it snaps into alignment with the top of the screen.
And then I'll press the enter key,
or the return key on the Mac,
to bring up the Move dialog box
complete with the details of that last movement.
I'll change the Vertical value to negative
and that'll pop that line back to where it came from.
But of course I only want to move it halfway there
and so I'll click after that value
and enter /2 like so.
And that will move the line to exactly where it needs to be.
After which point I'll click OK
in order to accept that change.
Now we need to draw the tiny front facing camera.
And we'll do that, once again, using the Ellipse Tool.
And so I'm going to alt or option + click
right there at the intersection of that line
and that vertical guide.
And this time I'm going to change
both the Width and Height values,
and they are the same this time,
so I think I can safely click on that link icon.
I'm going to change either one of the values
to 3pt for point.
And that way the thickness of this ellipse
will match the thickness of the line weight
assigned to that horizontal line.
And then I'll press the tab key
in order to update both values and I'll click OK.
And we'll end up with this tiny ellipse.
And now I want to move it to the left 3/8 of an inch
and so I'll press the V key to switch back
to my black arrow tool.
And I'll press the enter key in order to bring up
my Move dialog box.
And I'll change the Horizontal value
to -3/8 like so,
and I'll change the Vertical value to 0.
And then I'll go ahead and click OK
in order to move that shape.
And now we just want to swap the fill and the stroke,
and the easiest way to do that is to press shift + X,
and that will give us a dark grey fill and no stroke.
After which point you can press control + Y,
or command + Y, to switch back to the preview mode
and press ctrl + shift + A, or cmd + shift + A,
in order to deselect the artwork.
And now I'll go ahead and zoom out a little bit here,
so that we can take in the entire iPhone.
And that is how you draw the face of an iPhone 6
with an obsessive degree of accuracy
here inside Illustrator.