MonobjcMonobjc Documented Class Library
CGRectIntegral Method (rect)
NamespacesMonobjc.ApplicationServicesCGRectCGRectIntegral(CGRect)
Returns a rectangle with integer values for its origin and size.
Declaration Syntax
C#Visual BasicVisual C++
public static CGRect CGRectIntegral(
	CGRect rect
)
Public Shared Function CGRectIntegral ( _
	rect As CGRect _
) As CGRect
public:
static CGRect CGRectIntegral(
	CGRect rect
)
Parameters
rect (CGRect)
The source rectangle.
Return Value
The rectangle with smallest integer values for its origin and size that contains the source rectangle. That is, given a rectangle with fractional origin or size values, CGRectIntegral rounds the rectangle�s origin downward and its size upward to the nearest whole integers, such that the result contains the original rectangle.
Remarks
Original declaration is : CGRect CGRectIntegral ( CGRect rect );
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)