Delen via


InkStrokeBuilder.CreateStrokeFromInkPoints Method

Definition

Overloads

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>)

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)

Creates a basic ink stroke from collection of InkPoint objects.

Note

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

public:
 virtual InkStroke ^ CreateStrokeFromInkPoints(IIterable<InkPoint ^> ^ inkPoints, float3x2 transform) = CreateStrokeFromInkPoints;
InkStroke CreateStrokeFromInkPoints(IIterable<InkPoint> const& inkPoints, float3x2 const& transform);
public InkStroke CreateStrokeFromInkPoints(IEnumerable<InkPoint> inkPoints, Matrix3x2 transform);
function createStrokeFromInkPoints(inkPoints, transform)
Public Function CreateStrokeFromInkPoints (inkPoints As IEnumerable(Of InkPoint), transform As Matrix3x2) As InkStroke

Parameters

inkPoints

IIterable<InkPoint>

IEnumerable<InkPoint>

The collection of InkPoint objects.

transform
Matrix3x2 Matrix3x2

float3x2

A 2-D transformation matrix.

Returns

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

See also

Applies to

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:
 virtual InkStroke ^ CreateStrokeFromInkPoints(IIterable<InkPoint ^> ^ inkPoints, float3x2 transform, IReference<DateTime> ^ strokeStartedTime, IReference<TimeSpan> ^ strokeDuration) = CreateStrokeFromInkPoints;
InkStroke CreateStrokeFromInkPoints(IIterable<InkPoint> const& inkPoints, float3x2 const& transform, IReference<DateTime> const& strokeStartedTime, IReference<TimeSpan> const& strokeDuration);
public InkStroke CreateStrokeFromInkPoints(IEnumerable<InkPoint> inkPoints, Matrix3x2 transform, System.Nullable<System.DateTimeOffset> strokeStartedTime, System.Nullable<System.TimeSpan> strokeDuration);
function createStrokeFromInkPoints(inkPoints, transform, strokeStartedTime, strokeDuration)
Public Function CreateStrokeFromInkPoints (inkPoints As IEnumerable(Of InkPoint), transform As Matrix3x2, strokeStartedTime As Nullable(Of DateTimeOffset), strokeDuration As Nullable(Of TimeSpan)) As InkStroke

Parameters

inkPoints

IIterable<InkPoint>

IEnumerable<InkPoint>

The collection of InkPoint objects.

transform
Matrix3x2 Matrix3x2

float3x2

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

strokeStartedTime

IReference<DateTime>

Nullable<DateTimeOffset>

The date and time when the InkStroke was started.

strokeDuration

IReference<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.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

See also

Applies to