RectangleOffset Method (Rectangle, Size) |
Offsets the location of the rectangle by the specified size
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static Rectangle Offset(
Rectangle rectangle,
Size size
)
Public Shared Function Offset (
rectangle As Rectangle,
size As Size
) As Rectangle
static member Offset :
rectangle : Rectangle *
size : Size -> Rectangle
Parameters
- rectangle
- Type: Eto.DrawingRectangle
Rectangle to inflate - size
- Type: Eto.DrawingSize
Width and Height to move the rectangle
Return Value
Type:
RectangleA new Rectangle with the offset location
See Also