Abstract base class for overlays.
This class is primarily used so that tools can easily distinguish between items underneath them.
The base class for overlays and underlays of the area.
The only default additional feature of an overlay is that it implements an overlay() drawing method that overlays this component on top of another, without the components necessarily having an object containment-ownership relationship.
do_layout(size=None, force=False, component=None)¶
Tells this component to do a layout at a given size. This differs from the superclass Component.do_layout() in that it accepts an optional component argument.
overlay(other_component, gc, view_bounds=None, mode='normal')¶
Draws this component overlaid on another component.