Region — Representing a pixel-aligned area
Region is a simple graphical data type representing an area of integer-aligned rectangles. They are often used on raster surfaces to track areas of interest, such as change or clip areas.
Parameters: | rectangle_int (RectangleInt or [RectangleInt]) – a rectangle or a list of rectangle |
---|
Allocates a new empty region object or a region object with the containing rectangle(s).
RectangleInt is a data structure for holding a rectangle with integer coordinates.
Parameters: |
|
---|
Allocates a new RectangleInt object.