Rectangle.Offset Method
Definition¶
Namespace: Brine2D.Core
| Overloads | |
|---|---|
| Offset(float, float) | Offsets the rectangle by the specified amount. |
| Offset(Vector2) | Offsets the rectangle by the specified vector. |
Rectangle.Offset(float, float) Method¶
Offsets the rectangle by the specified amount.
public Brine2D.Core.Rectangle Offset(float offsetX, float offsetY);
Parameters¶
offsetX System.Single
offsetY System.Single
Returns¶
Rectangle.Offset(Vector2) Method¶
Offsets the rectangle by the specified vector.
public Brine2D.Core.Rectangle Offset(System.Numerics.Vector2 offset);
Parameters¶
offset System.Numerics.Vector2