wx.wxRect Class Reference

Inheritance diagram for wx.wxRect:

wx.Object

List of all members.

Public Member Functions

override void Dispose ()
 wxRect (int x, int y, int w, int h)
 wxRect (Rectangle r)
 wxRect ()
 wxRect (IntPtr wxObject)

Static Public Member Functions

static implicit operator Rectangle (wxRect rect)
static wxRect SafeNew (Rectangle rect)

Properties

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


Detailed Description

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

Constructor & Destructor Documentation

wx.wxRect.wxRect ( IntPtr  wxObject  ) 

wx.wxRect.wxRect (  ) 

wx.wxRect.wxRect ( Rectangle  r  ) 

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

wx.wxRect.wxRect ( int  x,
int  y,
int  w,
int  h 
)


Member Function Documentation

override void wx.wxRect.Dispose (  )  [virtual]

Reimplemented from wx.Object.

static implicit wx.wxRect.operator Rectangle ( wxRect  rect  )  [static]

static wxRect wx.wxRect.SafeNew ( Rectangle  rect  )  [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.wxRect.Height [get, set]

int wx.wxRect.Width [get, set]

int wx.wxRect.X [get, set]

int wx.wxRect.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