CGRect.Offset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Offset(CGPoint) |
Adjusts the location of this rectangle by the specified amount. |
Offset(Double, Double) |
Adjusts the location of this rectangle by the specified amount. |
Offset(nfloat, nfloat) |
Adjusts the location of this rectangle by the specified amount. |
Offset(Single, Single) |
Adjusts the location of this rectangle by the specified amount. |
Offset(CGPoint)
Adjusts the location of this rectangle by the specified amount.
public void Offset (CoreGraphics.CGPoint pos);
member this.Offset : CoreGraphics.CGPoint -> unit
Parameters
- pos
- CGPoint
Amount to offset the location.
Remarks
This method adjusts the location of the upper-left corner horizontally by the x-coordinate of the specified point, and vertically by the y-coordinate of the specified point.