Inside versus outside: Object crosses other object

The property "Object crosses other object" detects graphics objects whose border crosses the border of other graphics objects.

The configuration options for a check based on the "Object crosses shape" property can be seen below.

The "Consider" option defines the set of objects for which it shall be determined whether any of these objects' border crosses the border of some other object from the set of objects defined by "Check against".

Sample files

The two examples below makes use of the checks Object crosses other object(s).kfpx and 'spot red' object crosses 'spot green' object(s).kfpx, as well as the PDF file 'spot red' squares with 'spot green' squares (set to overprint).pdf which are available for download:

Running the check Object crosses other object(s) detects two objects:

  • the red square in the center: because its border crosses the border of the green square that overlaps it.
  • the green square in the center: because its border crosses the border of the red square that it overlaps.  

In order to not find both halves of each and every pair of objects that cross each other, one can be more specific and only check one set of objects against a second set of different objects – in this example 'spot red' objects against 'spot green' objects.

A suitable setup for a check such as 'spot red' object crosses 'spot green' object(s).kfpx is shown below:

Running this check on the sample PDF 'spot red' squares with 'spot green' squares (set to overprint).pdf leads to the following result – with just the red square in the center being detected: