Rectangle.Offset メソッド

定義

オーバーロード

Offset(Point)

Locationdr によってオフセットされる新しい Rectangle

Offset(Double, Double)

Locationdxdy によってオフセットされる新しい Rectangle

Offset(Point)

Locationdr によってオフセットされる新しい Rectangle

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

パラメーター

dr
Point

Point X と Y の値を の Locationに追加するthisRectangle必要がある 。

戻り値

が によってdr翻訳された の LocationRectanglethis等しい新しい RectangleLocation

適用対象

Offset(Double, Double)

Locationdxdy によってオフセットされる新しい Rectangle

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

パラメーター

dx
Double

X 軸に沿って変更します。

dy
Double

Y 軸に沿った変更。

戻り値

が と によって翻訳された の LocationthisRectangle等しい新しい RectangleLocationdxdy

適用対象