public override void OnReleased(UIElement uiElement, PointerRoutedEventArgs args) { InkBuilder.AddPointsFromEvent(Phase.End, uiElement, args); Polygons = InkBuilder.GetPolygons(); DrawingFinished?.Invoke(this, BlendCurrentStroke); }
public override void OnMoved(UIElement uiElement, PointerRoutedEventArgs args) { InkBuilder.AddPointsFromEvent(Phase.Update, uiElement, args); Polygons = InkBuilder.GetPolygons(); PointsAdded?.Invoke(this, null); }