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.
Parameters
offsetX System.Single
offsetY System.Single
Returns
Rectangle.Offset\(Vector2\) Method
Offsets the rectangle by the specified vector.
Parameters
offset System.Numerics.Vector2