RectF.Offset 方法

定义

重载

Offset(PointF)
Offset(Single, Single)

Offset(PointF)

public:
 Microsoft::Maui::Graphics::RectF Offset(Microsoft::Maui::Graphics::PointF dr);
public Microsoft.Maui.Graphics.RectF Offset (Microsoft.Maui.Graphics.PointF dr);
member this.Offset : Microsoft.Maui.Graphics.PointF -> Microsoft.Maui.Graphics.RectF
Public Function Offset (dr As PointF) As RectF

参数

dr
PointF

返回

适用于

Offset(Single, Single)

public:
 Microsoft::Maui::Graphics::RectF Offset(float dx, float dy);
public Microsoft.Maui.Graphics.RectF Offset (float dx, float dy);
member this.Offset : single * single -> Microsoft.Maui.Graphics.RectF
Public Function Offset (dx As Single, dy As Single) As RectF

参数

dx
Single
dy
Single

返回

适用于