public SelectionMovedOrResizedCommandItem(CommandStack commandStack, StrokeCollection selection, Rect newRect,
                                           Rect oldRect, int editingOperationCount) : base(commandStack)
 {
     _selectedStrokeCollection = selection;
     _newRect = newRect;
     _oldRect = oldRect;
     _editingOperationCount = editingOperationCount;
 }
コード例 #2
0
 public StrokesChangedCommandItem(CommandStack commandStack,
                                  InkCanvasEditingMode editingMode,
                                  StrokeCollection added,
                                  StrokeCollection removed,
                                  int editingOperationCount) : base(commandStack)
 {
     _editingMode           = editingMode;
     _added                 = added;
     _removed               = removed;
     _editingOperationCount = editingOperationCount;
 }