Adds a child to the container.
Adds a child to the container.
The DisplayObject to add to the container.
The child that was added.
Adds a child to the container at a specified index.
Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown
The DisplayObject to add to the container.
The index to place the child in
The child that was added.
The alpha value of the group container.
The alpha value of the group container.
The opacity of the object.
The angle of rotation of the group container, in degrees.
The angle of rotation of the group container, in degrees. This adjusts the group itself by modifying its local rotation transform. This has no impact on the rotation/angle properties of the children, but it will update their worldTransform and on-screen orientation and position.
Set if this display object is cached as a bitmap.
Set if this display object is cached as a bitmap. This basically takes a snap shot of the display object as it is at that moment. It can provide a performance benefit for complex static displayObjects. To remove simply set this property to 'null'
The array of children of this container.
Destroys the container
Destroys the container
optional: if set to true, all the children will have their destroy method called as well
Base destroy method for generic display objects.
Base destroy method for generic display objects.
The area the filter is applied to.
The area the filter is applied to. This is used as more of an optimisation rather than figuring out the dimensions of the displayObject each frame you can set this rectangle.
Sets the filters for the displayObject.
Sets the filters for the displayObject. IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer. To remove filters simply set this property to 'null'
The height of the Container, setting this will actually modify the scale to achieve the value set.
Sets a mask for the displayObject.
Sets a mask for the displayObject. A mask is an object that limits the visibility of an object to the shape of the mask applied to it. In PIXI a regular mask must be a PIXI.Graphics or a PIXI.Sprite object. This allows for much faster masking in canvas as it utilises shape clipping. To remove a mask, set this property to null.
The display object container that contains this display object.
The pivot point of the displayObject that it rotates around
The coordinate of the object relative to the local coordinates of the parent.
Can this object be rendered, if false the object will not be drawn but the updateTransform methods will still be called.
The rotation of the object in radians.
The scale factor of the object.
Set the parent Container of this DisplayObject.
Set the parent Container of this DisplayObject.
The Container to add this DisplayObject to.
The Container that this DisplayObject was added to.
Calculates the global position of the display object.
Calculates the global position of the display object.
The world origin to calculate from.
A point object representing the position of this object.
Calculates the local position of the display object relative to another point.
Calculates the local position of the display object relative to another point.
The world origin to calculate from.
The DisplayObject to calculate the global position from.
A point object representing the position of this object.
The width of the Container, setting this will actually modify the scale to achieve the value set.
The multiplied alpha of the displayObject.
Current transform of the object based on world (parent) factors
Current transform of the object based on world (parent) factors
Indicates if the sprite is globally visible.
Indicates if the sprite is globally visible.
The position of the displayObject on the x axis relative to the local coordinates of the parent.
The position of the displayObject on the x axis relative to the local coordinates of the parent.
The position of the displayObject on the y axis relative to the local coordinates of the parent.
The position of the displayObject on the y axis relative to the local coordinates of the parent.
A Container represents a collection of display objects. It is the base class of all display objects that act as a container for other objects.