Jaa


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:
 virtual IVectorView<InkStrokeRenderingSegment ^> ^ GetRenderingSegments() = GetRenderingSegments;
IVectorView<InkStrokeRenderingSegment> GetRenderingSegments();
public IReadOnlyList<InkStrokeRenderingSegment> GetRenderingSegments();
function getRenderingSegments()
Public Function GetRenderingSegments () As IReadOnlyList(Of InkStrokeRenderingSegment)

Returns

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.

Applies to

See also