code: function SpriteFrame (opts) {
      SpriteFrame.superclass.constructor.call(this, opts)
  
      this.texture      = opts.texture
      this.rect         = opts.rect
      this.rotated      = !!opts.rotate
      this.offset       = opts.offset || ccp(0, 0)
      this.originalSize = opts.originalSize || util.copy(this.rect.size)
  }
docs: @class
  Represents a single frame of animation for a cocos.Sprite
  
  A SpriteFrame has:
  - texture: A Texture2D that will be used by the Sprite
  - rectangle: A rectangle of the texture
  
  @example
  var frame = new SpriteFrame({texture: texture, rect: rect})
  sprite.displayFrame = frame
  
  @memberOf cocos
  
  @opt {cocos.Texture2D} texture The texture to draw this frame using
  @opt {geometry.Rect} rect The rectangle inside the texture to draw