Click or drag to resize

RectangleFromCenter Method

Creates a new instance of a Rectangle with a specified center and size

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static Rectangle FromCenter(
	Point center,
	Size size
)

Parameters

center
Type: Eto.DrawingPoint
Center of the rectangle
size
Type: Eto.DrawingSize
Size of the rectangle

Return Value

Type: Rectangle
A new instance of a Rectangle with the specified center and size
See Also