Chapter 14. Clipping and Masking

Table of Contents

Clipping and masking are methods for restricting what part of an object (or Group of objects) is visible. For clipping, a clipping path defines the visible part of the object, while for masking, the transparency or lightness of one object determines the opacity of a second object. In both cases, the target object is not changed and can be unclipped or unmasked if needed.

Example of clipping and masking.
Simple examples of clipping (top) and masking (bottom). The left column shows the text that serves as the clipping path and the text for masking, both overlaying blue rectangles that are the targets of the clipping and masking. In the right column are the results of the clipping and masking.
[Tip]Tip

A clipped or masked object can be edited (transformed, style changed, nodes edited, etc.) while clipped or masked. Objects within a clipped or masked Group can also be moved relative to the clipping path or masking object if the Group is entered.

[Tip]Tip

New in 0.47:

The clipping or masking path can be edited without unclipping or unmasking. With the clipped or masked object selected and the Node Tool active, click on either the icon (clipping) or icon (masking) icons in the Tool Controls.

Example of clip and mask editing.
Demonstrating the editing of a clip path (left) and a mask path (right).