MonobjcMonobjc Documented Class Library
NSRect Constructor (x, y, width, height)
NamespacesMonobjc.FoundationNSRectNSRect(Single, Single, Single, Single)
Initializes a new instance of the NSRect class.
Declaration Syntax
C#Visual BasicVisual C++
public NSRect(
	float x,
	float y,
	float width,
	float height
)
Public Sub New ( _
	x As Single, _
	y As Single, _
	width As Single, _
	height As Single _
)
public:
NSRect(
	float x, 
	float y, 
	float width, 
	float height
)
Parameters
x (Single)
The x.
y (Single)
The y.
width (Single)
The width.
height (Single)
The height.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)