Drawable surface extent. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs an eVision.EDrawableExtent. | |
| None | __init__ (self, int left, int top, int width, int height) |
| Constructs an eVision.EDrawableExtent. | |
| None | __init__ (self, eVision.EDrawableExtent other) |
| Constructs an eVision.EDrawableExtent. | |
| int | IsInfinite (self) |
| Whether the eVision.EDrawableExtent is finite. | |
| bool | DoesContainPoint (self, int x, int y) |
| Tests whether the eVision.EDrawableExtent contains the given point. | |
| bool | DoesContainHorizontalLine (self, int y, int x1, int x2) |
| Tests whether the eVision.EDrawableExtent contains the given horizontal line. | |
| bool | DoesContainRectangle (self, int rectangleLeft, int rectangleTop, int rectangleWidth, int rectangleHeight) |
| Tests whether the eVision.EDrawableExtent contains the given rectangle. | |
Properties | |
| Left = property(_Left__getter, None) | |
| Gets the left limit of the eVision.EDrawableExtent. | |
| Top = property(_Top__getter, None) | |
| Gets the top limit of the eVision.EDrawableExtent. | |
| RightExclusive = property(_RightExclusive__getter, None) | |
| Gets the right limit of the eVision.EDrawableExtent. | |
| BottomExclusive = property(_BottomExclusive__getter, None) | |
| Gets the bottom limit of the eVision.EDrawableExtent. | |
| Width = property(_Width__getter, None) | |
| Gets the width of the eVision.EDrawableExtent. | |
| Height = property(_Height__getter, None) | |
| Gets the height of the eVision.EDrawableExtent. | |
Drawable surface extent.
Remarks:
License(s): None
| None eVision.EDrawableExtent.__init__ | ( | self | ) |
Constructs an eVision.EDrawableExtent.
| None eVision.EDrawableExtent.__init__ | ( | self, | |
| int | left, | ||
| int | top, | ||
| int | width, | ||
| int | height ) |
Constructs an eVision.EDrawableExtent.
| left | left limit of the eVision.EDrawableExtent |
| top | top limit of the eVision.EDrawableExtent |
| width | width of the eVision.EDrawableExtent |
| height | height of the eVision.EDrawableExtent |
| None eVision.EDrawableExtent.__init__ | ( | self, | |
| eVision.EDrawableExtent | other ) |
Constructs an eVision.EDrawableExtent.
| other | The other eVision.EDrawableExtent that we will copy into this one. |
| bool eVision.EDrawableExtent.DoesContainHorizontalLine | ( | self, | |
| int | y, | ||
| int | x1, | ||
| int | x2 ) |
Tests whether the eVision.EDrawableExtent contains the given horizontal line.
| y | ordinate of the line |
| x1 | leftmost abscissa of the line |
| x2 | rightmost abscissa of the line |
| bool eVision.EDrawableExtent.DoesContainPoint | ( | self, | |
| int | x, | ||
| int | y ) |
Tests whether the eVision.EDrawableExtent contains the given point.
| x | abscissa of the point |
| y | ordinate of the point |
| bool eVision.EDrawableExtent.DoesContainRectangle | ( | self, | |
| int | rectangleLeft, | ||
| int | rectangleTop, | ||
| int | rectangleWidth, | ||
| int | rectangleHeight ) |
Tests whether the eVision.EDrawableExtent contains the given rectangle.
| rectangleLeft | leftmost abscissa of the rectangle (included) |
| rectangleTop | topmost ordinate of the rectangle (included) |
| rectangleWidth | width of the rectangle |
| rectangleHeight | height of the rectangle |
| int eVision.EDrawableExtent.IsInfinite | ( | self | ) |
Whether the eVision.EDrawableExtent is finite.
|
static |
Gets the bottom limit of the eVision.EDrawableExtent.
|
static |
Gets the height of the eVision.EDrawableExtent.
|
static |
Gets the left limit of the eVision.EDrawableExtent.
|
static |
Gets the right limit of the eVision.EDrawableExtent.
|
static |
Gets the top limit of the eVision.EDrawableExtent.
|
static |
Gets the width of the eVision.EDrawableExtent.