StrokeCollection.HitTest, méthode (Point, Double)
.NET Framework 3.0
Returns a collection of strokes that intersect the specified area.
Espace de noms: System.Windows.Ink
Assembly : PresentationCore (dans presentationcore.dll)
Assembly : PresentationCore (dans presentationcore.dll)
public StrokeCollection HitTest ( Point point, double diameter )
public function HitTest ( point : Point, diameter : double ) : StrokeCollection
Vous ne pouvez pas utiliser des méthodes dans XAML.
Paramètres
- point
The Point to hit test.
- diameter
The size of the area around the Point to hit test.
Valeur de retour
A collection of Stroke objects that intersect the specified point.The following example demonstrates how to get the strokes that intersect the specified Point. This example assumes that there is an InkPresenter called presenter.