2 * @class Ext.fx.target.CompositeSprite
3 * @extends Ext.fx.target.Sprite
5 This class represents a animation target for a {@link Ext.draw.CompositeSprite}. It allows
6 each {@link Ext.draw.Sprite} in the group to be animated as a whole. In general this class will not be
7 created directly, the {@link Ext.draw.CompositeSprite} will be passed to the animation and
8 and the appropriate target will be created.
13 Ext.define('Ext.fx.target.CompositeSprite', {
15 /* Begin Definitions */
17 extend: 'Ext.fx.target.Sprite',
21 getAttr: function(attr, val) {
24 target.each(function(sprite) {
25 out.push([sprite, val != undefined ? val : this.getFromPrim(sprite, attr)]);