wx.Point

Inheritance diagram for wx.Point:



Description

A wx.Point is a useful data structure for graphics operations. It simply contains integer x and y members.

See also

wx.RealPoint

Methods Summary

Properties Summary

Class API

Methods

__init__(x=0, y=0)

Create a wx.Point object.

Parameters:

  • x (int): The x coordinate.
  • y (int): The y coordinate.

Returns:

wx.Point


Get()

Return the x and y properties as a tuple.


Returns:

(x, y)


Set(x, y)

Set both the x and y properties

Parameters:

  • x (long)
  • y (long)

Properties

x
See Get and Set
y
See Get and Set