InkStrokeBuilder.CreateStrokeFromInkPoints InkStrokeBuilder.CreateStrokeFromInkPoints InkStrokeBuilder.CreateStrokeFromInkPoints InkStrokeBuilder.CreateStrokeFromInkPoints InkStrokeBuilder.CreateStrokeFromInkPoints Method

Definition

Overloads

CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2)

Creates a basic ink stroke from collection of InkPoint objects.

Note

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

CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>)

Creates a rich ink stroke from collection of InkPoint objects.

Note

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

CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2)

Creates a basic ink stroke from collection of InkPoint objects.

Note

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

public : InkStroke CreateStrokeFromInkPoints(IIterable<InkPoint> inkPoints, Matrix3x2 transform)
InkStroke CreateStrokeFromInkPoints(IIterable<InkPoint> inkPoints, Matrix3x2 transform) const;
public InkStroke CreateStrokeFromInkPoints(IEnumerable<InkPoint> inkPoints, Matrix3x2 transform)
Public Function CreateStrokeFromInkPoints(inkPoints As IEnumerable(Of InkPoint), transform As Matrix3x2) As InkStroke
var inkStroke = inkStrokeBuilder.createStrokeFromInkPoints(inkPoints, transform);

Parameters

inkPoints
IEnumerable<InkPoint> IEnumerable<InkPoint> IEnumerable<InkPoint>

The collection of InkPoint objects.

transform
Matrix3x2 Matrix3x2 Matrix3x2

A 2-D transformation matrix.

Returns

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

See also

CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>) CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>)

Creates a rich ink stroke from collection of InkPoint objects.

Note

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

public : InkStroke CreateStrokeFromInkPoints(IIterable<InkPoint> inkPoints, Matrix3x2 transform, IReference<DateTime> strokeStartedTime, IReference<TimeSpan> strokeDuration)
InkStroke CreateStrokeFromInkPoints(IIterable<InkPoint> inkPoints, Matrix3x2 transform, IReference<DateTime> strokeStartedTime, IReference<TimeSpan> strokeDuration) const;
public InkStroke CreateStrokeFromInkPoints(IEnumerable<InkPoint> inkPoints, Matrix3x2 transform, Nullable<DateTimeOffset> strokeStartedTime, Nullable<TimeSpan> strokeDuration)
Public Function CreateStrokeFromInkPoints(inkPoints As IEnumerable(Of InkPoint), transform As Matrix3x2, strokeStartedTime As Nullable(Of DateTimeOffset), strokeDuration As Nullable(Of TimeSpan)) As InkStroke
var inkStroke = inkStrokeBuilder.createStrokeFromInkPoints(inkPoints, transform, strokeStartedTime, strokeDuration);

Parameters

inkPoints
IEnumerable<InkPoint> IEnumerable<InkPoint> IEnumerable<InkPoint>

The collection of InkPoint objects.

transform
Matrix3x2 Matrix3x2 Matrix3x2

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

strokeStartedTime
Nullable<DateTimeOffset> Nullable<DateTimeOffset> Nullable<DateTimeOffset>

The date and time when the InkStroke was started.

strokeDuration
Nullable<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan>

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.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
See also