共用方式為


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

傳回

適用於