I'd like to remove the white space in the screenshot I took of an Inkscape file and merge the two pink objects together into a single object.
To make a united object we may select Path > Union Ctrl+ after we had selected the objects we wanted to unite.
Gaps between objects will remain visible in the united objects. Therefore we have to remove any gaps before we proceed.
This can be done in several ways, depending on the precision we need for the objects or their surroundings:
Move objects until they overlap
By this the original position of the object will change of courseMove object handles until they snap to the neighboring object's handle
- in path mode
enable snapping
to handles
or corners.
- Drag neighboring handles until they "snap":
- Make a union object Ctrl+.
- in path mode
Create a third object filling the gap (this object can be larger than the gap):
- It is easier to create such an object when snapping is enabled.
- Select all three objects to create a unified object Ctrl+
- Open Object > Align and Distribute… tab.
- Select the upper shape, then the lower shape (with Shift key stroked so that both are selected).
- Set "Relative to" to "Last selected" in the "Align and Distribute…" tab.
- Finally, click on
("align bottom edge of objects to the top of the anchor").
In this example the lower shape will be the anchor (and therefore won't move), bus obviously you can play with mentioned parameters and/or the button ("align top edge of objects to the bottom of the anchor") if you want it otherwise.