MonobjcMonobjc Documented Class Library
CGRectOffset Method (rect, dx, dy)
NamespacesMonobjc.ApplicationServicesCGRectCGRectOffset(CGRect, Single, Single)
Returns a rectangle with an origin offset from that of the source rectangle.
Declaration Syntax
C#Visual BasicVisual C++
public static CGRect CGRectOffset(
	CGRect rect,
	float dx,
	float dy
)
Public Shared Function CGRectOffset ( _
	rect As CGRect, _
	dx As Single, _
	dy As Single _
) As CGRect
public:
static CGRect CGRectOffset(
	CGRect rect, 
	float dx, 
	float dy
)
Parameters
rect (CGRect)
The source rectangle.
dx (Single)
The value by which to move the x-coordinate of the source rectangle�s origin.
dy (Single)
The value by which to move the y-coordinate of the source rectangle�s origin.
Return Value
A rectangle with the same size as the source, but with its origin offset by dx units along the x-axis and dy units along the y-axis with respect to the source.
Remarks
Original declaration is : CGRect CGRectOffset ( CGRect rect, float dx, float dy );
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)