Click or drag to resize

Rectangle.Offset Method (Rectangle, Point)

Offsets the location of the rectangle by the X and Y values of the specified point

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

Parameters

rectangle
Type: Eto.Drawing.Rectangle
Rectangle to offset
point
Type: Eto.Drawing.Point
Point with values to offset the rectangle

Return Value

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