Stroke Constructor (StylusPointCollection)
Collapse the table of content
Expand the table of content

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.

Namespace:  System.Windows.Ink
Assembly:  System.Windows (in System.Windows.dll)

public Stroke(
	StylusPointCollection stylusPoints
)

Parameters

stylusPoints
Type: System.Windows.Input.StylusPointCollection
A StylusPointCollection that represents the Stroke.

ExceptionCondition
ArgumentException

stylusPoints does not contain any stylus points.

ArgumentNullException

stylusPoints is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft