Rectangle.FromLTRB(Double, Double, Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.