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