text: /**
   * hilojs 2.0.0 for standalone
   * Copyright 2016 alibaba.com
   * Licensed under the MIT License
   */
  !function(i){i.Hilo||(i.Hilo={});var t=i.Hilo,h=i.Hilo.Class,s=i.Hilo.View,e=i.Hilo.Drawable,a=h.create({Extends:s,constructor:function(i){if(i=i||{},this.id=this.id||i.id||t.getUid("Bitmap"),a.superclass.constructor.call(this,i),this.drawable=new e(i),!this.width||!this.height){var h=this.drawable.rect;h&&(this.width=h[2],this.height=h[3])}},setImage:function(i,t,h){return this.drawable.init({image:i,rect:t,crossOrigin:h}),t?(this.width=t[2],this.height=t[3]):this.width||this.height||(t=this.drawable.rect,t&&(this.width=t[2],this.height=t[3])),this}});i.Hilo.Bitmap=a}(window);