0

Is there any way of telling Illustrator that I want it to include the border width into total dimension of the object?

For example I want a box 30x30px with 1px border. Of course I could make it manually and insert 29x29px for the box and then 1px stays for the border. In this case it works, but what about when I change my mind during the creation process and want increase the border to 5 px? My box will be 34x34 px and I want it to always be 30, just different proportions between the fill and border. Does anybody know the solution?

2 Answers 2

2

From the stroke panel set the stroke to align inside. The border width will then extend inwards from the width of your object.

enter image description here

1
  • Jesas, thank you so much - I ve been searching for it since this morning.
    – Guest
    Nov 30, 2016 at 15:35
1

Preferences > General > Use Preview Bounds

enter image description here

That option will take into account things which fall outside the paths of obects, such as the strokes or effects.

This will give you the outer meansurement, But it won't auto-adjust existing objects. In other words, if you have the option checked... and have a 40x40px rectangle with a 1pt stroke.... and increase the stroke to 5pts... it will make the rectangle 45x45px. But that will include the entire stroke in it's measurment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.