Пример #1
0
 public static Behavior GetChangeWidthBehavior(string moduleName, List <string> elementNames, float originWidth, float newWidth, bool isAdd = false)
 {
     return(new Behavior(isReDo => DisplayObjectUtil.ChangeWidthBehavior(moduleName, elementNames, newWidth, isAdd),
                         isReUndo => DisplayObjectUtil.ChangeWidthBehavior(moduleName, elementNames, originWidth, isAdd),
                         BehaviorType.ChangeWidth));
 }