Click or drag to resize

RectangleFFromCenter Method

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

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static RectangleF FromCenter(
	PointF center,
	SizeF size
)

Parameters

center
Type: Eto.DrawingPointF
Center of the rectangle
size
Type: Eto.DrawingSizeF
Size of the rectangle

Return Value

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