</Window>} } private readonly Dictionary _inkInfoCache = new Dictionary();public class InkInfo{ public FrameworkElement? InkElement { set; get; } public List PointList { get; } = new List();}public readonly record struct StrokePoint(Point Point, float Pressure = 0.5f){ public static implicit operator StrokePoint(Point point) => new StrokePoint(point);}