Click or drag to resize

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
)

Parameters

rectangle
Type: Eto.DrawingRectangle
Rectangle to inflate
size
Type: Eto.DrawingSize
Width and Height to move the rectangle

Return Value

Type: Rectangle
A new Rectangle with the offset location
See Also