wx.wxPoint Class Reference

Inheritance diagram for wx.wxPoint:

wx.Object

List of all members.

Public Member Functions

 wxPoint (IntPtr wxObject)
 wxPoint (Point point)
 wxPoint (int x, int y)
 wxPoint ()

Static Public Member Functions

static implicit operator Point (wxPoint point)
static wxPoint SafeNew (Point point)

Properties

int X [get, set]
int Y [get, set]


Detailed Description

This will produce or wrap instances of wxWidgets wxPoint. Never use System.Drawing.Point with wx-c.dll. Always rely to instances of this class instead.

Constructor & Destructor Documentation

wx.wxPoint.wxPoint (  ) 

wx.wxPoint.wxPoint ( int  x,
int  y 
)

wx.wxPoint.wxPoint ( Point  point  ) 

Convert an instance from a C# standard rectangle. This will throw an exception on a null argument. You may use SafeNew() instead.

wx.wxPoint.wxPoint ( IntPtr  wxObject  ) 


Member Function Documentation

static implicit wx.wxPoint.operator Point ( wxPoint  point  )  [static]

static wxPoint wx.wxPoint.SafeNew ( Point  point  )  [static]

This will generate an instance from a C# standard rectangle without throwing exception on a null argument. In that case this will also return a null.


Property Documentation

int wx.wxPoint.X [get, set]

int wx.wxPoint.Y [get, set]


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads