Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to add a stroke to a rectangle object, but if I add a 1px stroke, it places it 0.5px outside the edge of the rectangle and 0.5px inside the rectangle. I find this to be annoying when I want an object to be exactly 5px by 5px and it ends up becoming 6px by 6px.

Is there a setting anywhere which places the stroke within the rectangle edge so a 5px by 5px square remains a 5px by 5px square.

Please help.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Try adding another object just for the stroke. You may also want to modify how the intersection of the objects (Add, Subtract, Multiply) for different effects.

You can then group them to treat them as one object so you can resize them together.

share|improve this answer
    
Seems very difficult to do if I am trying to add a stroke to a box with round edges. –  oshirowanen Nov 19 '10 at 13:02
    
I see I can use ctrl-d to clone an object, then ctrl+( or ctrl+) to change the size. Is it possible to change the size by exactly 1px all over? –  oshirowanen Nov 19 '10 at 13:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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