Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .