Exemplo n.º 1
0
 public static Behavior GetChangeXBehavior(string moduleName, List <string> elementNames, float originX, float newX, bool isAdd = false)
 {
     return(new Behavior(isReDo => DisplayObjectUtil.ChangeXBehavior(moduleName, elementNames, newX, isAdd),
                         isReUndo => DisplayObjectUtil.ChangeXBehavior(moduleName, elementNames, originX, isAdd),
                         BehaviorType.ChangeX));
 }