wx.RealPoint
Inheritance diagram for wx.RealPoint:
Description
A wx.RealPoint is a useful data structure for graphics operations. It contains floating point x and y members.
See wx.Point for an integer version.
Class API
Methods
-
__init__(x=0.0, y=0.0)
Create a wx.RealPoint object.
Parameters:
- x (double): the x coordinate.
- y (double): the y coordinate.
Returns:
wx.RealPoint
-
Get()
Return the x and y properties as a tuple.
Returns:
(x, y)
-
Set(x, y)
Set both the x and y properties
Parameters: