Click or drag to resize

RectangleFOffset Method (RectangleF, SizeF)

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 RectangleF Offset(
	RectangleF rectangle,
	SizeF size
)

Parameters

rectangle
Type: Eto.DrawingRectangleF
Rectangle to inflate
size
Type: Eto.DrawingSizeF
Width and Height to move the rectangle

Return Value

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