A data structure for representing a point or position with floating
point x and y properties. In wxPython most places that expect a
wx.RealPoint can also accept a (x,y) tuple.
Method Summary |
RealPoint |
__init__ (self,
x,
y)
Create a wx.RealPoint object |
RealPoint |
__add__ (self,
pt)
Add pt's proprties to this and return the result. |
|
__del__(self)
|
bool |
__eq__ (self,
other)
Test for equality of wx.RealPoint objects. |
|
__getitem__(self,
index)
|
|
__len__(self)
|
bool |
__ne__ (self,
other)
Test for inequality of wx.RealPoint objects. |
|
__nonzero__(self)
|
|
__reduce__(self)
|
|
__repr__(self)
|
|
__setitem__(self,
index,
val)
|
|
__str__(self)
|
RealPoint |
__sub__ (self,
pt)
Subtract pt's proprties from this and return the result |
|
asTuple (*args,
**kwargs)
asTuple is deprecated, use Get instead |
(x,y) |
Get ()
Return the x and y properties as a tuple. |
|
Set (self,
x,
y)
Set both the x and y properties |