共用方式為


RectF.Contains Method

Definition

Overloads

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

Contains(PointF)

Source:
RectF.cs
Source:
RectF.cs
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

Parameters

pt
PointF

Returns

Applies to

Contains(RectF)

Source:
RectF.cs
Source:
RectF.cs
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

Parameters

rect
RectF

Returns

Applies to

Contains(Single, Single)

Source:
RectF.cs
Source:
RectF.cs
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

Parameters

x
Single
y
Single

Returns

Applies to