InkStroke.GetRenderingSegments InkStroke.GetRenderingSegments InkStroke.GetRenderingSegments InkStroke.GetRenderingSegments InkStroke.GetRenderingSegments Method

Definition

Gets the rendering segments of the stroke.

Note

For Universal Windows app using Extensible Application Markup Language (XAML), use GetInkPoints (see remarks).

public : IVectorView<InkStrokeRenderingSegment> GetRenderingSegments()
IVectorView<InkStrokeRenderingSegment> GetRenderingSegments() const;
public IReadOnlyList<InkStrokeRenderingSegment> GetRenderingSegments()
Public Function GetRenderingSegments() As IReadOnlyList<InkStrokeRenderingSegment>(Of InkStrokeRenderingSegment)
var iVectorView = inkStroke.getRenderingSegments();

Returns

IReadOnlyList<InkStrokeRenderingSegment> IReadOnlyList<InkStrokeRenderingSegment> IReadOnlyList<InkStrokeRenderingSegment>

The collection of InkStrokeRenderingSegment objects.

Remarks

If FitToCurve is set to true, this method returns an InkStrokeRenderingSegment that approximates the Bezier curve of the stroke.

If FitToCurve is set to false, this method returns a collection of InkStrokeRenderingSegment objects that represent the original raw pointer data as line segments.

For Universal Windows app using Extensible Application Markup Language (XAML), avoid changing the state of an ink stroke to retrieve the raw pointer data by using GetInkPoints instead.

See also