define(["ember"],function(a){return a.Object.extend({id:null,x:0,y:0,width:0,height:0,rotate:0,zIndex:0,color:"",fontSize:0,fontFamily:"",fontWeight:"",lineHeight:0,didRotated:function(){this.set("rotate",this._formatDeg(this.get("rotate")))}.observes("rotate"),_formatDeg:function(a){return deg=a%360,deg>180?deg-=360:deg<=-180&&(deg=360+deg),deg}})});