- [Deke] In this movie, I'll take you on a tour
of the three Tile Types: Grid, Brick, and Hex,
and I'll also introduce you to the Pattern Tile tool.
I'm going to demonstrate these options
by editing our existing pattern swatch.
Now, when working with pattern swatches,
you don't have to select the object that's affected,
in our case this big rectangle,
and that's because patterns are always treated
as global swatches.
So, once again, without the rectangle selected,
I'll go ahead and double-click on a pattern swatch
in order to once again enter the Pattern Editor.
Now, notice this Tile Type option right here,
by default, it is set to Grid.
Now, it doesn't have to be a square, by the way,
it can be any shape that you like.
And another way to modify the shape,
other than adjusting these values right here,
is to select this guy, the Pattern Tile tool,
and notice that it's a full-fledged tool.
So, a moment ago, my Black Arrow tool was selected
up here at the top of the toolbox,
but watch what happens when I select the Pattern Tile tool.
We don't see any tools selected in the toolbox,
and so, again, this is a full-fledged tool
that takes control and allows you
to modify the Tile directly
by dragging one of these handles.
And it works just like a standard rectangle,
which is to say, if you press the Shift key as you drag,
then you'll constrain the shape to a square
and if you press the Alt key,
or the Option key on a Mac,
and drag one of these corner handles,
then you'll scale the rectangle from the center outward
and if you press both Shift and Alt,
or Shift and Option on the Mac,
then you will scale a square from the center outward.
And if I decide I want to move this square
to a different location,
I could drag its center point like so.
Now, in addition to Grid, we have two Brick options
as well as two Hex options.
To see what those look like,
I'm going to zoom out a little bit here
so that we can take in more of the pattern at a time,
and I'll go ahead and switch to Brick by Row
and notice that that offsets every other row
as we're seeing right here.
Now, if you don't want to offset every other row,
you want to offset every third row, let's say,
then you can switch the Brick Offset value to 1/3
and then notice that things repeat every third row.
And so this guy, for example, this top row,
is the same as this bottom one.
And to make things even more clear, I'll zoom farther out
so you can see the kind of repetition that's happening.
So, basically each row is offset by a third
of this eye lens.
And if you want to work by column instead,
then you would switch to Brick by Column, like so,
and now you're going to see that you have columns
of lenses instead of the rows you saw a moment ago.
Now, I do want you to note this extra control
that's available to you when you're working
with Brick by Row or Brick by Column,
and it's this diamond right here.
It appears on both sides, incidentally, of the rectangle
and if you were to drag it,
you would notice that you're Brick Offset value
is going to change.
So, now it's changed to 1/4,
if I drag it still farther upward,
it's going to change to 1/5 and so forth.
Now, initially it can be hard to see.
Notice if I switch back to Brick by Row
that the diamond appears at the bottom
and the top of the rectangle,
and so, if I was to drag it to the other side,
I will switch to 2/3, in this case,
so you're going to get a different result
at every snap right there.
Now, if I were to switch it back to 1/2,
initially it's just going to look like I have
eight standard scale handles once again,
but note that the top and bottom handles,
in this case, are indeed diamonds,
allowing you to modify that Brick Offset.
And just to reiterate once again,
you're going to see these diamonds at the top
and bottom when Tile Type is set to Brick by Row.
You're going to see them on the sides
when Tile Type is set to Brick by Column.
All right, next I'm going to go ahead
and switch to Hex by Column this time around
so that you can see that we do have a hexagonal arrangement
and it's going to be a little more clear
if I drag this handle out right here.
And notice we have a ton of handles this time around,
but I want you to notice that this guy,
if I drag this guy,
then the blue handle top left is going to remain stationary
and that's why it's solid blue,
to show you that it's stationary,
and the other handles are going to move accordingly.
I don't really want this center point to move, however,
so I'll just go ahead and drag it back into place.
What I prefer to do is press the Alt key,
or the Option key on a Mac,
so that I can scale this hexagon from the center outward.
And so now you can see that these lenses are arranged
in a hexagonal fashion around the central one
and then when I Alt or Option+drag that handle in,
we're seeing the lenses arranged in columns,
hence the name Hex by Column.
If I switch to Hex by Row,
then I'm going to arrange the lenses in rows,
at which point I can once again press the Alt key,
or the Option key on a Mac,
and drag one of these handles
in order to scale the shape with respect to the center.
And if you want a perfectly regular hexagon,
then you'd add the Shift key as well.
So, in my case I have both the Shift and Alt keys down,
that's Shift and Option on the Mac.
Now, from my part, I went ahead and set Tile Type
to Hex by Column
and I went ahead and manually entered a couple
of values here.
I set the Width to 342
and I set the Height to 296,
and this is just a function, of course,
of trial and error.
At which point, I'll go ahead and accept my changes
by clicking on a Done button
or as you may recall,
all you have to do is press the Esc key.
Now, I'm going to have to press Esc a couple of times
because I tabbed to the Name value right there
and so the first time I pressed Esc,
I unhighlight the value
and then when I press Esc again,
I go ahead and exit the Pattern Editing mode,
and I've automatically updated the rectangle
that's filled with that pattern as well.
And that's how you work with the three Tile Types:
Grid, Brick, and Hex, as well as how you scale the Tile
by dragging inside the Document window
using the Pattern Tile tool.