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