Show Menu

class s7vampy.obj.StaticOverlapObject(parent, obj)

A static overlapping object provides an RGBA (RGB with alpha) image layer on top of the rendered vignette. The image can be shown or hidden using the usual overlap commands.
See also: [Object](../../../c-s7vampy-api-reference/c-classes/c-objects/ - Base class
image [s7vampy.image.Image, read-only]
Static overlapping object image ( [s7vampy.image.Image](../../../c-s7vampy-api-reference/c-classes/c-classes-image/ ).
The image must be the same size as the view image, or a RuntimeError exception is raised.
rect [tuple, read-only]
Object bounding box in the view image (x, y, width, height).
z_order [int]
Z-order (int, range 0 - 1000).
The z_order property is only available for overlap objects.
New overlap objects have their z_order property automatically initialized to be higher than existing overlap objects in the vignette.
No two overlap objects within a single vignette are allowed to use the same z-order value.