Windows.UI.Input.Inking.InkStroke.GetRenderingSegments C# (CSharp) Метод

GetRenderingSegments() публичный Метод

public GetRenderingSegments ( ) : IVectorView
Результат IVectorView
		public extern IVectorView<InkStrokeRenderingSegment> GetRenderingSegments();
		public extern InkStroke Clone();

Usage Example

Пример #1
0
 public Stroke(InkStroke stroke, [CallerMemberName] string methodName = "")
 {
     var renderStrokes = stroke.GetRenderingSegments();
     StartPoint = renderStrokes.First().Position;
     foreach (var renderStroke in renderStrokes)
     {
         BezierSegments.Add(new BezierSegment
         {
             Point1 = renderStroke.BezierControlPoint1,
             Point2 = renderStroke.BezierControlPoint2,
             Point3 = renderStroke.Position
         });
     }
 }
All Usage Examples Of Windows.UI.Input.Inking.InkStroke::GetRenderingSegments