Share via


Rectangle.FromLTRB(Double, Double, Double, Double) Method

Definition

Factory method to create a Rectangle from left, top, right, and bottom.

public static Xamarin.Forms.Rectangle FromLTRB (double left, double top, double right, double bottom);
static member FromLTRB : double * double * double * double -> Xamarin.Forms.Rectangle

Parameters

left
System.Double

The X coordinate of the left side.

top
System.Double
right
System.Double

The X coordinate of the right side.

bottom
System.Double

The Y coordinate of the bottom side.

Returns

A new Rectangle whose values are equal to the arguments.

Applies to