Click or drag to resize

RectangleFromSides 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 Rectangle FromSides(
	int left,
	int top,
	int right,
	int bottom
)

Parameters

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

Return Value

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