scistag.imagestag.bounding

Implements the location, size and bounding definition classes Size2D, Pos2D and Bounding2D.

These are for example required for painting operations in ImageStag and defining a Widget’s layout and position in SlideStag.

Module attributes

Bounding2DTypes

The supported bounding types.

RawBoundingType

Defines the raw bounding type with the structure ((x,y),(x2,y2)).

Classes

Bounding2D

Defines the 2D-bounding of a visual element by it's upper left and lower right corner.