protected virtual void Dispose(bool disposing) { if (this.nativeObject != IntPtr.Zero) { RectangleBridge.DestructorRectangle(this.nativeObject); this.nativeObject = IntPtr.Zero; } if (disposing) { GC.SuppressFinalize(this); } }
public bool PointIsInside(float x, float y) { return(RectangleBridge.PointIsInside(this.nativeObject, x, y)); }
public void SetPosition(float x, float y) { RectangleBridge.SetPosition(this.nativeObject, x, y); }
public void SetDimensions(float width, float height) { RectangleBridge.SetDimensions(this.nativeObject, width, height); }
public Rectangle() { this.nativeObject = RectangleBridge.ConstructorRectangle(); }