You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kev/Drawer/UCDraw/WpfSketch/StrokesHistoryNode.cs

32 lines
830 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Ink;
namespace WpfSketch
{
public enum StrokesHistoryNodeType
{
Removed,
Added
}
internal class StrokesHistoryNode
{
public StrokeCollection Strokes { get; private set; }
public StrokesHistoryNodeType Type { get; private set; }
/// <summary>
/// Initializes a new instance of the <see cref="StrokesHistoryNode"/> class.
/// </summary>
/// <param name="strokes">The strokes.</param>
/// <param name="type">The type.</param>
public StrokesHistoryNode(StrokeCollection strokes, StrokesHistoryNodeType type)
{
Strokes = strokes;
Type = type;
}
}
}