PeachDrawing.Core
PeachDrawing.Core.Rect
Rect.Offset Method
| Overloads | |
|---|---|
| Offset(double, double) | Adjusts the location of this rectangle by the specified amount. |
| Offset(PaintPoint) | Adjusts the location of this rectangle by the specified amount. |
Rect.Offset(double, double) Method
Adjusts the location of this rectangle by the specified amount.
public void Offset(double x, double y);
Parameters
The amount to offset the location horizontally.
The amount to offset the location vertically.
Rect.Offset(PaintPoint) Method
Adjusts the location of this rectangle by the specified amount.
public void Offset(PeachDrawing.Core.PaintPoint pos);
Parameters
pos PaintPoint
The amount to offset the location.