Visibility: Object is completely clipped

The property "Object is completely clipped" detects completely clipped objects (which are thus not visible on the page).

Clipping occurs in the following ways:

  • through an explicit clipping path, or a combination of several clipping plaths
  • through the implicit clipping path defined by the CropBox, or in its absence the MediaBox, of a page; an object is always completely clipped if it is outside the CropBox, or in its absence the MediaBox, of a page
  • through the combination of explicit clipping paths and the implicit clipping path defined by the CropBox, or in its absence the MediaBox, of a page

The following objects will not be found by this property:

  • objects that are only partially clipped
  • objects that are invisible because they are partially clipped and also partially or fully obliterated

For detecting partial clipping see article Visibility: Object is partially clipped.

The "Filter" option defines the set of objects for which it shall be determined whether they are completely clipped.

Sample files

The example below makes use of the check Object is completely clipped.kfpx and the PDF file three red rectangles, one half clipped, one fully clipped.pdf which are available for download:

The page shown in the screenshot below contains three evenly spaced red squares, where the middle one is half clipped, and the rightmost one is fully clipped (and thus not visible). The clipping paths in effect are indicated by the blue dashed lines.

It can be seen below how the completely clipped (and thus invisible) red square on the right is detected.

0 Comments

Send Your Comment

E-Mail me when someone replies to this comment