StrokeCollection.Clip Method (IEnumerable<Point>)
.NET Framework 4.6 and 4.5
PresentationCore (in PresentationCore.dll)
public void Clip(
The M:System.Windows.Ink.StrokeCollection.Clip(System.Windows.Point) method connects the first and last points in lassoPoints to create the lasso.
The M:System.Windows.Ink.StrokeCollection.Clip(System.Windows.Point) method raises the StrokesChanged event for each Stroke it clips.
The following example demonstrates how to clip the strokes in a StrokeCollection. This example assumes that there is an InkPresenter called presenter.
// Clip the selected strokes.
public void ClipStrokes(Stroke lasso)
Point strokePoints = (Point)lasso.StylusPoints;
Return to top
Available since 3.0