Is the a way to get a pattern to center up the fill.
On the left is a rectangle field with the pattern.
On the right is the expanded pattern so you can see this is designed so the floret is centered.
Patterns start tiling on the origin of the document rulers. They are kind of independent from the shape they are assigned to.
You can move the pattern inside its frame by choosing: Object - Transform - Move, and unchecking 'Transform object' and cheking 'Transform patterns', but you will still be 'eyeballing' it (use smart guides to find the vertical and horizontal centre of the frame)
You could drag out the pattern from the Swatches panel onto the artboard.
Select and copy only the unpainted rectangle at the back.
Delete the dragged out pattern.
Paste the rectangle, move it to the ruler origin and fill it with the pattern.
In the Transform panel (or Preferences) turn off the option to Transform Patterns.
Then you can transform the rectangle from the center to the desired size.
If you want to move this filled rectangle, be sure to turn on the option to transform both object and pattern.
Think I got this but will recap as all it take is one mistake and this will not work so anyone feel free to correct me or offer a better suggestion. The pattern is to be used for all shelf graphics for a new brand, and they want this to align for many different sized items.
To create a library item
To apply pattern I will
To move I will need to
This is still in the concept phase, but I believe they will in the end desire to have the bottom shelf strips align. So they title of my post would be align pattern to bottom of shape. I would change the rubik's cube (reference point) to be in the bottom middle.
We have about 19 different displays currently, and some might be next to each other of various sizes on the graphic inserts. Eyeballing won't work, to give you an idea of who one of these works..
I would add something here:
To apply this I will
Pull out from the library while holding down the Alt key to create a copy of the library item instead of a link.
Or Ctrl (right mouse) click the Library item and choose Place Copy.
Yes definitely important step, I updated my post.
This was my theory. It's not working quite right, but I feel like it could with some tweaking.
When you apply a pattern, Illustrator starts it relative to the x=0, y=0 position of the currently selected artboard. So, if your pattern is 100 by 100 and your shape is at x = 50, y = 50, the pattern will appear 50% clipped on the left edge of your shape and 50% on the top edge.
Once a pattern is applied, you can move the shape around and Illustrator will move the pattern with it. So, here's a simple method to achieve perfect alignment:
Figured it out. You have to use your artboard's coordinates.
Select the shape
In the transform panel, Select the Top Left Reference Point
Enter X = the artboard's x position plus half the pattern width
Enter Y = the artboard's y position plus half the pattern height
Apply the pattern.
Move the shape wherever you want it.