Click or drag to resize

RectangleOffset Method (Rectangle, Int32, Int32)

Offsets the location of the rectangle by the specified x and y values

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static Rectangle Offset(
	Rectangle rectangle,
	int x,
	int y
)

Parameters

rectangle
Type: Eto.DrawingRectangle
Rectangle to offset
x
Type: SystemInt32
Horizontal offset to move the rectangle
y
Type: SystemInt32
Vertical offset to move the rectangle

Return Value

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