Rectangle.Offset 메서드

정의

오버로드

Offset(Point)

RectangleLocation에 의해 오프셋되는 새 dr입니다.A new Rectangle whose Location is offset by dr.

Offset(Double, Double)

RectangleLocationdx에 의해 오프셋되는 새 dy입니다.A new Rectangle whose Location is offset by dx and dy.

Offset(Point)

RectangleLocation에 의해 오프셋되는 새 dr입니다.A new Rectangle whose Location is offset by dr.

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

매개 변수

dr
Point

X 및 Y 값을 Point이것Rectangle에 추가해야 하는 Location입니다.A Point whose X and Y values should be added to thisRectangle's Location.

반환

RectangleLocation이것Rectangle과 동일한 새 Locationdr에서 번역되었습니다.A new Rectangle whose Location is equal to thisRectangle's Location translated by dr.

Offset(Double, Double)

RectangleLocationdx에 의해 오프셋되는 새 dy입니다.A new Rectangle whose Location is offset by dx and dy.

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

매개 변수

dx
Double

X축을 따라 변경합니다.Change along the X axis.

dy
Double

Y축을 따라 변경합니다.Change along the Y axis.

반환

RectangleLocation이것Rectangle과 동일한 새 Locationdxdy에서 번역되었습니다.A new Rectangle whose Location is equal to thisRectangle's Location translated by dx and dy.

적용 대상