/** * @class Ext.draw.sprite.Image * @extend Ext.draw.sprite.Rect * @alias sprite.image * * A sprite that represents an image. */ /** * @cfg {Number} [width=null] The width of the image. * For consistent image size on all devices the width must be explicitly set. * Otherwise the natural image width devided by the device pixel ratio * (for a crisp looking image) will be used as the width of the sprite. */ /** * @cfg {Number} [height=null] The height of the image. * For consistent image size on all devices the height must be explicitly set. * Otherwise the natural image height devided by the device pixel ratio * (for a crisp looking image) will be used as the height of the sprite. */ /** * @cfg {String} [src=''] * The image source of the sprite. */