共用方式為


RectF.Contains 方法

定義

多載

Contains(PointF)
Contains(RectF)
Contains(Single, Single)

Contains(PointF)

public:
 bool Contains(Microsoft::Maui::Graphics::PointF pt);
public bool Contains (Microsoft.Maui.Graphics.PointF pt);
member this.Contains : Microsoft.Maui.Graphics.PointF -> bool
Public Function Contains (pt As PointF) As Boolean

參數

pt
PointF

傳回

適用於

Contains(RectF)

public:
 bool Contains(Microsoft::Maui::Graphics::RectF rect);
public bool Contains (Microsoft.Maui.Graphics.RectF rect);
member this.Contains : Microsoft.Maui.Graphics.RectF -> bool
Public Function Contains (rect As RectF) As Boolean

參數

rect
RectF

傳回

適用於

Contains(Single, Single)

public:
 bool Contains(float x, float y);
public bool Contains (float x, float y);
member this.Contains : single * single -> bool
Public Function Contains (x As Single, y As Single) As Boolean

參數

x
Single
y
Single

傳回

適用於