Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 3.4 KB

inkstrokebuilder_createstrokefrominkpoints_2009821049.md

File metadata and controls

41 lines (27 loc) · 3.4 KB
-api-id -api-type
M:Windows.UI.Input.Inking.InkStrokeBuilder.CreateStrokeFromInkPoints(Windows.Foundation.Collections.IIterable{Windows.UI.Input.Inking.InkPoint},Windows.Foundation.Numerics.Matrix3x2,Windows.Foundation.IReference{Windows.Foundation.DateTime},Windows.Foundation.IReference{Windows.Foundation.TimeSpan})
winrt method

Windows.UI.Input.Inking.InkStrokeBuilder.CreateStrokeFromInkPoints

-description

Creates a rich ink stroke from collection of InkPoint objects.

Note

Use CreateStrokeFromInkPoints and SetDefaultDrawingAttributes to programmatically build strokes for an InkPresenter.

-parameters

-param inkPoints

The collection of InkPoint objects.

-param transform

A 2-D transformation matrix. Typically, this is just the identity matrix.

-param strokeStartedTime

The date and time when the InkStroke was started. 

-param strokeDuration

Gets or sets the time taken by the user to draw a single ink stroke.

-returns

The ink stroke, including the Bézier curve parameters used for final rendering of the stroke.

-remarks

-see-also

CreateStrokeFromInkPoints(Windows.Foundation.Collections.IIterable<Windows.UI.Input.Inking.InkPoint> inkPoints, Windows.Foundation.Numerics.Matrix3x2 transform), Pen and stylus interactions, Get started: Support ink in your UWP app, Ink analysis sample (basic) (C#), Ink handwriting recognition sample (C#), Save and load ink strokes from an Ink Serialized Format (ISF) file, Save and load ink strokes from the clipboard, Ink toolbar location and orientation sample (basic), Ink toolbar location and orientation sample (dynamic), Coloring book sample, Family notes sample, Inking sample (JavaScript), Simple inking sample (C#/C++), Complex inking sample (C++), Ink analysis sample

-examples