RectExtensionsContains Method (RectD, Point)

CVB.Net Documentation
Check if a point is located inside this Rect.

Namespace:  Stemmer.Cvb.Wpf
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public static bool Contains(
	this RectD rect,
	Point pt
)

Parameters

rect
Type: Stemmer.CvbRectD
This rectangle.
pt
Type: System.WindowsPoint
point to be checked

Return Value

Type: Boolean
true if pt is inside this Rect, false otherwise.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RectD. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference