Method Offset
- Namespace
- PaintDotNet.Rendering
- Assembly
- PaintDotNet.Primitives.dll
Offset(RectInt32, Point2Int32)
public static RectInt32 Offset(RectInt32 rect, Point2Int32 offset)
Parameters
rect
RectInt32
offset
Point2Int32
Returns
- RectInt32
Offset(RectInt32, Vector2Int32)
public static RectInt32 Offset(RectInt32 rect, Vector2Int32 offset)
Parameters
rect
RectInt32
offset
Vector2Int32
Returns
- RectInt32
Offset(RectInt32, int, int)
public static RectInt32 Offset(RectInt32 rect, int dx, int dy)
Parameters
rect
RectInt32
dx
int
dy
int
Returns
- RectInt32
Offset(Point2Int32)
public void Offset(Point2Int32 delta)
Parameters
delta
Point2Int32
Offset(int, int)
public void Offset(int dx, int dy)
Parameters
dx
int
dy
int