IsPointOnObject(Point,Boolean) Method (WpfGraphicObject)
Returns a value indicating whether point belongs the object.
'Declaration
Public Overloads MustOverride Function IsPointOnObject( _
ByVal As System.Windows.Point, _
ByVal As Boolean _
) As Boolean
public abstract bool IsPointOnObject(
System.Windows.Point ,
bool
)
public: abstract bool IsPointOnObject(
System.Windows.Point ,
bool
)
public:
abstract bool IsPointOnObject(
System.Windows.Point ,
bool
)
Parameters
- p
- Point in object space.
- ignoreContainmentCheckDistance
- A value indicating whether the point must be checked on the object only (ignore the "containment" region around object that is used for object selection).
Return Value
True if point belongs the object; otherwise, false.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5