Version

TestNearStroke Method

Returns a boolean indicating whether or not the given point is near the given PathGeometry outline.
Syntax
'Declaration
 
Protected Function TestNearStroke( _
   ByVal position As Point, _
   ByVal isFinger As Boolean, _
   ByVal pathData1 As PathGeometry _
) As Boolean
protected bool TestNearStroke( 
   Point position,
   bool isFinger,
   PathGeometry pathData1
)

Parameters

position
The point under observation.
isFinger
Whether or not this is a touch interaction.
pathData1
The PathGeometry in context.

Return Value

True if the given point is near the outline of the given PathGeometry; otherwise, False.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also