Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor()
{
super();
this.tempDisplayObjectParent = null;
// TODO: need to create Transform from factory
/**
* World transform and local transform of this object.
* This will become read-only later, please do not assign anything there unless you know what are you doing.
*
* @member {PIXI.Transform}
*/
this.transform = new Transform();
/**
* The opacity of the object.
*
* @member {number}
*/
this.alpha = 1;
/**
* The visibility of the object. If false the object will not be drawn, and
* the updateTransform function will not be called.
*
* Only affects recursive calls from parent. You can ask for bounds or call updateTransform manually.
*
* @member {boolean}
*/
constructor(texture, width = 100, height = 100)
{
super(texture);
/**
* Tile transform
*
* @member {PIXI.Transform}
*/
this.tileTransform = new Transform();
// /// private
/**
* The with of the tiling sprite
*
* @member {number}
* @private
*/
this._width = width;
/**
* The height of the tiling sprite
*
* @member {number}
* @private