Mobile app version of vmapp.org
Login or Join
Nimeshi706

: Inkscape How to create outer border after Clip 'Set'? Not sure I am asking this correctly. Here's my problem, Originally, I perform 'Object' --> 'Clip' --> 'Set' on 2 images. Here's the result:

@Nimeshi706

Posted in: #Borders #Inkscape #Stroke

Not sure I am asking this correctly. Here's my problem,

Originally, I perform 'Object' --> 'Clip' --> 'Set' on 2 images.

Here's the result:



Note that the pink color object is successfully contained inside the black object. But this is the case when the black object has no stroke/border.

Now, what i want to do, is to apply a border on the black object. If i do so, this happens:



Now, as observed, after applying a border/stroke, the pink object inside becomes mis-aligned. Why it isn't contained inside the black object anymore?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Nimeshi706

--> Facebook Tweet 'Clip' --> 'Set' on 2 images. Here's the result:">Reddit Digg LinkedIn -->

1 Comments

Sorted by latest first Latest Oldest Best

 

@Caterina889

The red part does not change its position. The problem here is that svg strokes are centered on the object outline. If you have a stroke of width 8px, 4px of that stroke will overlap the object and the other 4px of the stroke will increase the object size. The following animation shows how the stroke is placed.



To get an outline that does not overlap your black object


Duplicate the black object (select and ctrl+d).
Set a stroke on the duplicate. The stroke should be twice as wide as intended.
Put the stroke into the background (select and end).


Alternatively, disable the fill of the duplicate and move it to the front (select and Pos 1).

10% popularity Vote Up Vote Down


--> Facebook Tweet 'Clip' --> 'Set' on 2 images. Here's the result:">Reddit Digg LinkedIn -->

Back to top | Use Dark Theme