wx.Rect2D is a rectangle, with position and size, in a 2D coordinate system
with floating point component values.
| Method Summary |
| Rect2D |
__init__(self,
x,
y,
w,
h)
wx.Rect2D is a rectangle, with position and size, in a 2D coordinate system
with floating point component values. |
| |
__del__(self)
|
| bool |
__eq__(self,
other)
Test for equality of wx.Rect2D objects. |
| |
__getitem__(self,
index)
|
| |
__len__(self)
|
| bool |
__ne__(self,
other)
Test for inequality of wx.Rect2D objects. |
| |
__nonzero__(self)
|
| |
__reduce__(self)
|
| |
__repr__(self)
|
| |
__setitem__(self,
index,
val)
|
| |
__str__(self)
|
| |
ConstrainTo(self,
rect)
|
| bool |
Contains(self,
pt)
|
| bool |
ContainsRect(self,
rect)
|
| Rect2D |
CreateIntersection(self,
otherRect)
|
| Rect2D |
CreateUnion(self,
otherRect)
|
| (x,y, width, height) |
Get()
Return x, y, width and height y properties as a tuple. |
| wxDouble |
GetBottom(self)
|
| Point2D |
GetCentre(self)
|
| wxDouble |
GetLeft(self)
|
| Point2D |
GetLeftBottom(self)
|
| Point2D |
GetLeftTop(self)
|
| int |
GetOutcode(self,
pt)
|
| Point2D |
GetPosition(self)
|
| wxDouble |
GetRight(self)
|
| Point2D |
GetRightBottom(self)
|
| Point2D |
GetRightTop(self)
|
| Size |
GetSize(self)
|
| wxDouble |
GetTop(self)
|
| bool |
HaveEqualSize(self,
rect)
|
| |
Inset(self,
x,
y)
Inset(self, wxDouble left, wxDouble top, wxDouble right, wxDouble bottom) |
| Point2D |
Interpolate(self,
widthfactor,
heightfactor)
|
| |
Intersect(self,
otherRect)
|
| bool |
Intersects(self,
rect)
|
| bool |
IsEmpty(self)
|
| |
MoveBottomTo(self,
n)
|
| |
MoveCentreTo(self,
pt)
|
| |
MoveLeftBottomTo(self,
pt)
|
| |
MoveLeftTo(self,
n)
|
| |
MoveLeftTopTo(self,
pt)
|
| |
MoveRightBottomTo(self,
pt)
|
| |
MoveRightTo(self,
n)
|
| |
MoveRightTopTo(self,
pt)
|
| |
MoveTopTo(self,
n)
|
| |
Offset(self,
pt)
|
| |
Scale(self,
f)
Scale(self, int num, int denum) |
| |
Set(self,
x,
y,
width,
height)
|
| |
SetBottom(self,
n)
|
| |
SetCentre(self,
pt)
|
| |
SetLeft(self,
n)
|
| |
SetLeftBottom(self,
pt)
|
| |
SetLeftTop(self,
pt)
|
| |
SetRight(self,
n)
|
| |
SetRightBottom(self,
pt)
|
| |
SetRightTop(self,
pt)
|
| |
SetTop(self,
n)
|
| |
Union(self,
otherRect)
|