1 <!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-fx.target.CompositeSprite'>/**
2 </span> * @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)]);
30 </pre></pre></body></html>