props.push(‘{"prop":"x","min":-100,"max":100}‘);
props.push(‘{"prop":"y","min":-100,"max":100}‘);
props.push(‘{"prop":"scaleX","min":-1,"max":1,"step":0.1,"propValue":1}‘);
props.push(‘{"prop":"scaleY","min":-1,"max":1,"step":0.1,"propValue":1}‘);
_layout = _layout.concat(new CtrlProps(propsChangeHandler, JSON.stringify(props)).getCtrls());
原文:http://www.cnblogs.com/defaultred/p/3925225.html