Adobe Illustrator - stroke alignment


I'm new to illustrator and when I draw rectangle + triangle ( so imagine a pencil shape), everything is align ok without stroke but when I add a stroke, now the tip of the pencil (triangle) doesn't align with the rectangle which also has got a stroke.

How can I fix that?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sigurdur ArmannssonDesigner Commented:
The Stroke in Illustrator is kind of a coating arround the path. By default it put half of the thickness of the stroke on each side of the path.

You have the option in the stroke panel to move the whole coating either to the inside of the path or to the outside. But it may not give you the exact results you like.

Lets say it's a pencil you are drawing. The best way would be to draw the whole outer shape as one (you could join what you have already) and then draw shapes under the basic outline for color and shading.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fajer39Author Commented:
Ok, thanks Sigurdur.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Illustration Software

From novice to tech pro — start learning today.