Esempio n. 1
0
 public static Behavior GetChangeYBehavior(string moduleName, List <string> elementNames, float originY, float newY, bool isAdd = false)
 {
     return(new Behavior(isReDo => DisplayObjectUtil.ChangeYBehavior(moduleName, elementNames, newY, isAdd),
                         isReUndo => DisplayObjectUtil.ChangeYBehavior(moduleName, elementNames, originY, isAdd),
                         BehaviorType.ChangeY));
 }