Ejemplo n.º 1
0
 public SelectionMovedOrResizedStroke(CommandStack commandStack, StrokeCollection selection, Rect newrect, Rect oldrect, int editingOperationCount)
     : base(commandStack)
 {
     _selection             = selection;
     _newrect               = newrect;
     _oldrect               = oldrect;
     _editingOperationCount = editingOperationCount;
 }
Ejemplo n.º 2
0
 public ElementMovOrRes(CommandStack commandStack, UIElementCollection selection, Rect newrect, Rect oldrect, int editingOperationCount)
     : base(commandStack)
 {
     _selection             = selection;
     _newrect               = newrect;
     _oldrect               = oldrect;
     _editingOperationCount = editingOperationCount;
 }
Ejemplo n.º 3
0
        public StrokesAddedOrRemovedStroke(CommandStack commandStack, InkCanvasEditingMode editingMode, StrokeCollection added, StrokeCollection removed, int editingOperationCount)
            : base(commandStack)
        {
            _editingMode = editingMode;

            _added   = added;
            _removed = removed;

            _editingOperationCount = editingOperationCount;
        }
Ejemplo n.º 4
0
        public ElementAddOrRem(CommandStack commandStack, InkCanvasEditingMode editingMode,
                               UIElementCollection added, UIElementCollection removed, int editingOperationCount)
            : base(commandStack)
        {
            _editingMode = editingMode;

            _added   = added;
            _removed = removed;

            _editingOperationCount = editingOperationCount;
        }
Ejemplo n.º 5
0
 protected CommandItem(CommandStack commandStack)
 {
     _commandStack = commandStack;
 }