Stroke Constructor (StylusPointCollection)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the Stroke class with the specified StylusPointCollection.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- stylusPoints
- Type: System.Windows.Input.StylusPointCollection
A StylusPointCollection that represents the Stroke.
| Exception | Condition |
|---|---|
| ArgumentException | stylusPoints does not contain any stylus points. |
| ArgumentNullException | stylusPoints is null. |
Show: