Click or drag to resize

RectangleFFromSides Method

Creates a new instance of a RectangleF from the values of the left, top, right and bottom sides

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static RectangleF FromSides(
	float left,
	float top,
	float right,
	float bottom
)

Parameters

left
Type: SystemSingle
Left side of the rectangle to create
top
Type: SystemSingle
Top of the rectangle to create
right
Type: SystemSingle
Right side of the rectangle to create
bottom
Type: SystemSingle
Bottom of the rectangle to create

Return Value

Type: RectangleF
A new instance of a RectangleF with values for the Left, Top, Right, and Bottom sides
See Also