Above versus below: Object covered by other object

The property "Object covered by other object" detects whether an object is covered by at least one other object above it. In this context it is irrelevant, whether an object above is opaque or transparent.

The configuration options for a check based on the "Object covered by other object" property can be seen below.

The "Consider" option defines the set of objects for which it shall be determined whether any of these objects is covered by at least one other object from the set of objects defined by "Check against".

Sample files

The example below makes use of the check Object covered by other object.kfpx and the PDF files red squares not || partially || completely below opaque green squares.pdf and red squares not || partially || completely below transparent green squares.pdf which are available for download:

In the screenshot shown below, it can be seen how the red square completely under a green circle is detected.

Note: In the sample file, first three red squares are painted, followed by three green circles.

In the screenshot shown below, the red square completely under a green circle is detected, despite being invisible due to the green circle above it being opaque and thus hiding it.

Note: In the sample file, first three red squares are painted, followed by three green circles.