back to ext
wxPoint
generated from ../src/mod_ext/point.cpp
A wxPoint is a useful data structure for graphics operations.
It simply contains integer x and y members.
Constants
Constructor
wxPoint
wxPoint(X = wxDefaultPosition.x,
Y = 0)
| Name |
Type |
Default |
Description |
| X |
Integer |
wxDefaultPosition.x |
The X-coordinate
|
| Y |
Integer |
0 |
The Y-coordinate.
|
wxPoint(Object)
| Name |
Type |
Default |
Description |
| Object |
Object |
|
An object which has a x and y property
|
Creates a new wxPoint. When no arguments are given then wxPoint gets the same value
as wxDefaultPosition.
The second form can be used to create a wxPoint from a JSON object.
Properties
| Name |
Type |
Description |
| x |
Integer |
The x-coordinate.
|
| y |
Integer |
The y-coordinate.
|