Click or drag to resize

RectangleFOffset Method (RectangleF, PointF)

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 RectangleF Offset(
	RectangleF rectangle,
	PointF point
)

Parameters

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

Return Value

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