Mobile app version of vmapp.org
Login or Join
Angie364

: Center object A with object B So in the picture below, you can see on the left (object A) and on the right (object B). I'm wanting to vertically center object A on the left of object B.

@Angie364

Posted in: #AdobeIllustrator #Alignment

So in the picture below, you can see on the left (object A) and on the right (object B). I'm wanting to vertically center object A on the left of object B. Since object A is a weird shape, Illustrator puts the center accordingly to the bounding rectangle around it instead of the objects shape itself. So when I go to vertically center A to B. It doesn't quite exactly center the correct way (or the way I want it). So how do I fix this problem? Picture 2 will show you of an example of when I try to use the alignment tools.

10.05% popularity Vote Up Vote Down


Login to follow query

More posts by @Angie364

5 Comments

Sorted by latest first Latest Oldest Best

 

@Phylliss782

The fastest way I know is to move an object the "full" distance you would like to halve, then move it back by half the distance.

First align the objects by their highest points:



Then move one object to align the lowest points:


Open the Move Modal dialog (if you have a Selection Tool active, just press Enter):



The last distance and angle used is displayed. You can use mathematical operators such as +, -, /, and *. In this case, I divide the distance by two, then set it to negative:





Hit OK and you're done:

10% popularity Vote Up Vote Down


 

@Martha945

Centering objects (and graphic design in general) has a golden rule: When it looks right it is right. In all 'measured' answers the tail looks to low. You should place the tail a little higher to be optically centered.

If you have trouble with finding the right position you can:


Make variations and compare (exaggerate and start narrowing down).
Flip the image (have a fresh look and check your work).


Hope you achieve the desired result.

10% popularity Vote Up Vote Down


 

@Ravi4787994

Here's another way to do it:

With everything deselected, select only the vertical line of the curved shape by clicking on it with the Direct Selection Tool

Copy the line, then Paste it in Place (Shift + Ctrl + V), and hide the curved shape so it's out of the way. You should be left with the triangle and a path like so (in Outline view for clarity):



Now, to align them. Select the triangle and the path using the selection tool, then Click on the path again to make it the key object for alignment. You should notice that it becomes a bit thicker which denotes that it is selected as the key object.



Now for the alignment. Click the Vertical Align Center button on the Align pane, and the triangle will be centered on the path. You can delete this extra path now and un-hide the original curved shape.

10% popularity Vote Up Vote Down


 

@Alves566

Easiest, fairly universal instructions:

Duplicate the shapes by copying and pasting in place.

Take the shapes - something like this:



On the duplicates go to Object > Path > Add Anchor Points --- you'll get something like this with it perfectly centered on each edge (with my awesome circling skills for added emphasis):



Drag the duplicate and the original from one of the anchor points to the other.

edit

For final step by request - make sure Snap To Point is on by View->Snap To Point:


Now delete the duplicates with the unnecessary anchor points.

10% popularity Vote Up Vote Down


 

@Kaufman565

I answer accordingly to your example, thus it is not universal answer.

Press A (or click on Direct Selection Tool) and select right upper anchor point of your left shape (tail) - write down X and Y coordinates (let's call them X1 and Y1) from transform panel (window-Transform), then - click on right lower anchor point of your left shape (tail, X2,Y2) and subtract from Y2 the number of Y1 - now you get Y3 which you should divide by 2 and add to Y1 (or subtract from Y2) - this Y4 will give you the Y-center of the right border of your left shape.

(Y2-Y1)/2+Y1 or Y2-(Y2-Y1)/2 = Y4

(the numbers on this picture unrelated to the case - I show the positioning square where you get coordinates)



Now, select the right shape and in Transform positioning square click on LEFT middle quadrant, and Now - insert the written numbers of the X1 and Y4 coordinates and press enter (after writing the Y coordinate)

You're done

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme