Click or drag to resize

RectangleOffset 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.DrawingRectangle
Rectangle to offset
point
Type: Eto.DrawingPoint
Point with values to offset the rectangle

Return Value

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