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

返回

适用于