共用方式為


Rect Constructors

Definition

Overloads

Rect(Point, Size)
Rect(Double, Double, Double, Double)

Rect(Point, Size)

public Rect (Xamarin.Forms.Point loc, Xamarin.Forms.Size sz);
new Xamarin.Forms.Rect : Xamarin.Forms.Point * Xamarin.Forms.Size -> Xamarin.Forms.Rect

Parameters

loc
Point
sz
Size

Applies to

Rect(Double, Double, Double, Double)

public Rect (double x, double y, double width, double height);
new Xamarin.Forms.Rect : double * double * double * double -> Xamarin.Forms.Rect

Parameters

x
System.Double
y
System.Double
width
System.Double
height
System.Double

Applies to