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
)
Public Shared Function FromSides (
left As Integer,
top As Integer,
right As Integer,
bottom As Integer
) As Rectangle
static member FromSides :
left : int *
top : int *
right : int *
bottom : int -> Rectangle
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:
RectangleA new instance of a RectangleF with values for the Left, Top, Right, and Bottom sides
See Also