MonobjcMonobjc Documented Class Library
CGRectIntegral Method (rect)
NamespacesMonobjc.ApplicationServicesCGGeometryCGRectIntegral(CGRect)

Returns the smallest rectangle that results from converting the source rectangle values to integers.

Original signature is 'CGRect CGRectIntegral ( CGRect rect );'

Available in Mac OS X v10.0 and later.

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)
MISSING
Return Value
A rectangle with the 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.
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.AppKit (Module: Monobjc.AppKit)