GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing docs.wxpython.org — wx.RegionIterator — wxPython 4.3.2 Docs
|
Default constructor. |
|
An alias for |
|
Returns the height value for the current region. |
|
Returns the current rectangle. |
|
An alias for |
|
Returns the width value for the current region. |
|
Returns the x value for the current region. |
|
Returns the y value for the current region. |
|
Returns |
|
Move the iterator to the next rectangle in the region. |
|
Resets the iterator to the beginning of the rectangles. |
|
Returns |
|
Returns |
Properties Summary¶See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
Class API¶Possible constructors:
RegionIterator() -> None RegionIterator(region) -> None
This class is used to iterate through the rectangles in a region, typically when examining the damaged regions of a window within an OnPaint call.
__init__ (self)
Default constructor.
None
__init__ (self, region)
Creates an iterator object given a region.
region (wx.Region)
None
Returns the height value for the current region.
int
Returns the width value for the current region.
int
Returns the x value for the current region.
int
Returns the y value for the current region.
int
Returns True if there are still some rectangles; otherwise returns False.
bool
Move the iterator to the next rectangle in the region.
None
Reset (self)
Resets the iterator to the beginning of the rectangles.
None
Reset (self, region)
Resets the iterator to the given region.
region (wx.Region)
None
Returns True while there are still rectangles available in the iteration.
bool
Returns True while there are still rectangles available in the iteration.
bool