Compartir a través de


Rectangle.Offset Método

Definición

Sobrecargas

Offset(Point)

Un nuevo Rectangle cuya Location está desplazada por dr.

Offset(Double, Double)

Un nuevo Rectangle cuya Location está desplazada por dx y dy.

Offset(Point)

Un nuevo Rectangle cuya Location está desplazada por dr.

public Xamarin.Forms.Rectangle Offset(Xamarin.Forms.Point dr);
member this.Offset : Xamarin.Forms.Point -> Xamarin.Forms.Rectangle

Parámetros

dr
Point

cuyos Point valores X e Y se deben agregar a thisRectangle.Location

Devoluciones

Nuevo Rectangle cuyo Location valor es igual al thisRectangleLocation traducido por dr.

Se aplica a

Offset(Double, Double)

Un nuevo Rectangle cuya Location está desplazada por dx y dy.

public Xamarin.Forms.Rectangle Offset(double dx, double dy);
member this.Offset : double * double -> Xamarin.Forms.Rectangle

Parámetros

dx
System.Double

Cambie a lo largo del eje X.

dy
System.Double

Cambia junto al eje Y.

Devoluciones

Nuevo Rectangle cuyo valor es igual al thisLocationRectangletraducido por dx y dy.Location

Se aplica a