diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 3b277c6..1ce6fc9 100755 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -383,7 +383,7 @@ * * IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer. * To remove filters simply set this property to 'null' * @property filters - * @type Array An array of filters + * @type {Array(Filter)} */ Object.defineProperty(PIXI.DisplayObject.prototype, 'filters', { diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 3b277c6..1ce6fc9 100755 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -383,7 +383,7 @@ * * IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer. * To remove filters simply set this property to 'null' * @property filters - * @type Array An array of filters + * @type {Array(Filter)} */ Object.defineProperty(PIXI.DisplayObject.prototype, 'filters', { diff --git a/src/pixi/display/DisplayObjectContainer.js b/src/pixi/display/DisplayObjectContainer.js index 99b4fda..e3ccc20 100644 --- a/src/pixi/display/DisplayObjectContainer.js +++ b/src/pixi/display/DisplayObjectContainer.js @@ -18,7 +18,7 @@ * [read-only] The array of children of this container. * * @property children - * @type Array + * @type Array(DisplayObject) * @readOnly */ this.children = []; diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 3b277c6..1ce6fc9 100755 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -383,7 +383,7 @@ * * IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer. * To remove filters simply set this property to 'null' * @property filters - * @type Array An array of filters + * @type {Array(Filter)} */ Object.defineProperty(PIXI.DisplayObject.prototype, 'filters', { diff --git a/src/pixi/display/DisplayObjectContainer.js b/src/pixi/display/DisplayObjectContainer.js index 99b4fda..e3ccc20 100644 --- a/src/pixi/display/DisplayObjectContainer.js +++ b/src/pixi/display/DisplayObjectContainer.js @@ -18,7 +18,7 @@ * [read-only] The array of children of this container. * * @property children - * @type Array + * @type Array(DisplayObject) * @readOnly */ this.children = []; diff --git a/src/pixi/display/MovieClip.js b/src/pixi/display/MovieClip.js index 05b51b8..e07df82 100644 --- a/src/pixi/display/MovieClip.js +++ b/src/pixi/display/MovieClip.js @@ -8,7 +8,7 @@ * @class MovieClip * @extends Sprite * @constructor - * @param textures {Array} an array of {Texture} objects that make up the animation + * @param textures {Array(Texture)} an array of {Texture} objects that make up the animation */ PIXI.MovieClip = function(textures) { diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 3b277c6..1ce6fc9 100755 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -383,7 +383,7 @@ * * IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer. * To remove filters simply set this property to 'null' * @property filters - * @type Array An array of filters + * @type {Array(Filter)} */ Object.defineProperty(PIXI.DisplayObject.prototype, 'filters', { diff --git a/src/pixi/display/DisplayObjectContainer.js b/src/pixi/display/DisplayObjectContainer.js index 99b4fda..e3ccc20 100644 --- a/src/pixi/display/DisplayObjectContainer.js +++ b/src/pixi/display/DisplayObjectContainer.js @@ -18,7 +18,7 @@ * [read-only] The array of children of this container. * * @property children - * @type Array + * @type Array(DisplayObject) * @readOnly */ this.children = []; diff --git a/src/pixi/display/MovieClip.js b/src/pixi/display/MovieClip.js index 05b51b8..e07df82 100644 --- a/src/pixi/display/MovieClip.js +++ b/src/pixi/display/MovieClip.js @@ -8,7 +8,7 @@ * @class MovieClip * @extends Sprite * @constructor - * @param textures {Array} an array of {Texture} objects that make up the animation + * @param textures {Array(Texture)} an array of {Texture} objects that make up the animation */ PIXI.MovieClip = function(textures) { diff --git a/src/pixi/filters/AbstractFilter.js b/src/pixi/filters/AbstractFilter.js index 0d5c16d..6727dc5 100644 --- a/src/pixi/filters/AbstractFilter.js +++ b/src/pixi/filters/AbstractFilter.js @@ -16,14 +16,14 @@ * An array of passes - some filters contain a few steps this array simply stores the steps in a liniear fashion. * For example the blur filter has two passes blurX and blurY. * @property passes - * @type Array an array of filter objects + * @type Array(Filter) * @private */ this.passes = [this]; /** * @property shaders - * @type Array an array of shaders + * @type Array(Shader) * @private */ this.shaders = []; diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 3b277c6..1ce6fc9 100755 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -383,7 +383,7 @@ * * IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer. * To remove filters simply set this property to 'null' * @property filters - * @type Array An array of filters + * @type {Array(Filter)} */ Object.defineProperty(PIXI.DisplayObject.prototype, 'filters', { diff --git a/src/pixi/display/DisplayObjectContainer.js b/src/pixi/display/DisplayObjectContainer.js index 99b4fda..e3ccc20 100644 --- a/src/pixi/display/DisplayObjectContainer.js +++ b/src/pixi/display/DisplayObjectContainer.js @@ -18,7 +18,7 @@ * [read-only] The array of children of this container. * * @property children - * @type Array + * @type Array(DisplayObject) * @readOnly */ this.children = []; diff --git a/src/pixi/display/MovieClip.js b/src/pixi/display/MovieClip.js index 05b51b8..e07df82 100644 --- a/src/pixi/display/MovieClip.js +++ b/src/pixi/display/MovieClip.js @@ -8,7 +8,7 @@ * @class MovieClip * @extends Sprite * @constructor - * @param textures {Array} an array of {Texture} objects that make up the animation + * @param textures {Array(Texture)} an array of {Texture} objects that make up the animation */ PIXI.MovieClip = function(textures) { diff --git a/src/pixi/filters/AbstractFilter.js b/src/pixi/filters/AbstractFilter.js index 0d5c16d..6727dc5 100644 --- a/src/pixi/filters/AbstractFilter.js +++ b/src/pixi/filters/AbstractFilter.js @@ -16,14 +16,14 @@ * An array of passes - some filters contain a few steps this array simply stores the steps in a liniear fashion. * For example the blur filter has two passes blurX and blurY. * @property passes - * @type Array an array of filter objects + * @type Array(Filter) * @private */ this.passes = [this]; /** * @property shaders - * @type Array an array of shaders + * @type Array(Shader) * @private */ this.shaders = []; diff --git a/src/pixi/filters/ColorMatrixFilter.js b/src/pixi/filters/ColorMatrixFilter.js index 771d6eb..8f1dcbe 100644 --- a/src/pixi/filters/ColorMatrixFilter.js +++ b/src/pixi/filters/ColorMatrixFilter.js @@ -47,7 +47,7 @@ * Sets the matrix of the color matrix filter * * @property matrix - * @type Array and array of 26 numbers + * @type Array(Number) * @default [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1] */ Object.defineProperty(PIXI.ColorMatrixFilter.prototype, 'matrix', { diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 3b277c6..1ce6fc9 100755 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -383,7 +383,7 @@ * * IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer. * To remove filters simply set this property to 'null' * @property filters - * @type Array An array of filters + * @type {Array(Filter)} */ Object.defineProperty(PIXI.DisplayObject.prototype, 'filters', { diff --git a/src/pixi/display/DisplayObjectContainer.js b/src/pixi/display/DisplayObjectContainer.js index 99b4fda..e3ccc20 100644 --- a/src/pixi/display/DisplayObjectContainer.js +++ b/src/pixi/display/DisplayObjectContainer.js @@ -18,7 +18,7 @@ * [read-only] The array of children of this container. * * @property children - * @type Array + * @type Array(DisplayObject) * @readOnly */ this.children = []; diff --git a/src/pixi/display/MovieClip.js b/src/pixi/display/MovieClip.js index 05b51b8..e07df82 100644 --- a/src/pixi/display/MovieClip.js +++ b/src/pixi/display/MovieClip.js @@ -8,7 +8,7 @@ * @class MovieClip * @extends Sprite * @constructor - * @param textures {Array} an array of {Texture} objects that make up the animation + * @param textures {Array(Texture)} an array of {Texture} objects that make up the animation */ PIXI.MovieClip = function(textures) { diff --git a/src/pixi/filters/AbstractFilter.js b/src/pixi/filters/AbstractFilter.js index 0d5c16d..6727dc5 100644 --- a/src/pixi/filters/AbstractFilter.js +++ b/src/pixi/filters/AbstractFilter.js @@ -16,14 +16,14 @@ * An array of passes - some filters contain a few steps this array simply stores the steps in a liniear fashion. * For example the blur filter has two passes blurX and blurY. * @property passes - * @type Array an array of filter objects + * @type Array(Filter) * @private */ this.passes = [this]; /** * @property shaders - * @type Array an array of shaders + * @type Array(Shader) * @private */ this.shaders = []; diff --git a/src/pixi/filters/ColorMatrixFilter.js b/src/pixi/filters/ColorMatrixFilter.js index 771d6eb..8f1dcbe 100644 --- a/src/pixi/filters/ColorMatrixFilter.js +++ b/src/pixi/filters/ColorMatrixFilter.js @@ -47,7 +47,7 @@ * Sets the matrix of the color matrix filter * * @property matrix - * @type Array and array of 26 numbers + * @type Array(Number) * @default [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1] */ Object.defineProperty(PIXI.ColorMatrixFilter.prototype, 'matrix', { diff --git a/src/pixi/geom/Polygon.js b/src/pixi/geom/Polygon.js index d47c8a8..d615a89 100644 --- a/src/pixi/geom/Polygon.js +++ b/src/pixi/geom/Polygon.js @@ -5,7 +5,7 @@ /** * @class Polygon * @constructor - * @param points* {Array|Array|Point...|Number...} This can be an array of Points that form the polygon, + * @param points* {Array(Point)|Array(Number)|Point...|Number...} This can be an array of Points that form the polygon, * a flat array of numbers that will be interpreted as [x,y, x,y, ...], or the arguments passed can be * all the points of the polygon e.g. `new PIXI.Polygon(new PIXI.Point(), new PIXI.Point(), ...)`, or the * arguments passed can be flat x,y values e.g. `new PIXI.Polygon(x,y, x,y, x,y, ...)` where `x` and `y` are diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 3b277c6..1ce6fc9 100755 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -383,7 +383,7 @@ * * IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer. * To remove filters simply set this property to 'null' * @property filters - * @type Array An array of filters + * @type {Array(Filter)} */ Object.defineProperty(PIXI.DisplayObject.prototype, 'filters', { diff --git a/src/pixi/display/DisplayObjectContainer.js b/src/pixi/display/DisplayObjectContainer.js index 99b4fda..e3ccc20 100644 --- a/src/pixi/display/DisplayObjectContainer.js +++ b/src/pixi/display/DisplayObjectContainer.js @@ -18,7 +18,7 @@ * [read-only] The array of children of this container. * * @property children - * @type Array + * @type Array(DisplayObject) * @readOnly */ this.children = []; diff --git a/src/pixi/display/MovieClip.js b/src/pixi/display/MovieClip.js index 05b51b8..e07df82 100644 --- a/src/pixi/display/MovieClip.js +++ b/src/pixi/display/MovieClip.js @@ -8,7 +8,7 @@ * @class MovieClip * @extends Sprite * @constructor - * @param textures {Array} an array of {Texture} objects that make up the animation + * @param textures {Array(Texture)} an array of {Texture} objects that make up the animation */ PIXI.MovieClip = function(textures) { diff --git a/src/pixi/filters/AbstractFilter.js b/src/pixi/filters/AbstractFilter.js index 0d5c16d..6727dc5 100644 --- a/src/pixi/filters/AbstractFilter.js +++ b/src/pixi/filters/AbstractFilter.js @@ -16,14 +16,14 @@ * An array of passes - some filters contain a few steps this array simply stores the steps in a liniear fashion. * For example the blur filter has two passes blurX and blurY. * @property passes - * @type Array an array of filter objects + * @type Array(Filter) * @private */ this.passes = [this]; /** * @property shaders - * @type Array an array of shaders + * @type Array(Shader) * @private */ this.shaders = []; diff --git a/src/pixi/filters/ColorMatrixFilter.js b/src/pixi/filters/ColorMatrixFilter.js index 771d6eb..8f1dcbe 100644 --- a/src/pixi/filters/ColorMatrixFilter.js +++ b/src/pixi/filters/ColorMatrixFilter.js @@ -47,7 +47,7 @@ * Sets the matrix of the color matrix filter * * @property matrix - * @type Array and array of 26 numbers + * @type Array(Number) * @default [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1] */ Object.defineProperty(PIXI.ColorMatrixFilter.prototype, 'matrix', { diff --git a/src/pixi/geom/Polygon.js b/src/pixi/geom/Polygon.js index d47c8a8..d615a89 100644 --- a/src/pixi/geom/Polygon.js +++ b/src/pixi/geom/Polygon.js @@ -5,7 +5,7 @@ /** * @class Polygon * @constructor - * @param points* {Array|Array|Point...|Number...} This can be an array of Points that form the polygon, + * @param points* {Array(Point)|Array(Number)|Point...|Number...} This can be an array of Points that form the polygon, * a flat array of numbers that will be interpreted as [x,y, x,y, ...], or the arguments passed can be * all the points of the polygon e.g. `new PIXI.Polygon(new PIXI.Point(), new PIXI.Point(), ...)`, or the * arguments passed can be flat x,y values e.g. `new PIXI.Polygon(x,y, x,y, x,y, ...)` where `x` and `y` are diff --git a/src/pixi/loaders/AssetLoader.js b/src/pixi/loaders/AssetLoader.js index a89e5d8..25adce2 100644 --- a/src/pixi/loaders/AssetLoader.js +++ b/src/pixi/loaders/AssetLoader.js @@ -12,7 +12,7 @@ * @class AssetLoader * @constructor * @uses EventTarget - * @param assetURLs {Array} An array of image/sprite sheet urls that you would like loaded + * @param assetURLs {Array(String)} An array of image/sprite sheet urls that you would like loaded * supported. Supported image formats include 'jpeg', 'jpg', 'png', 'gif'. Supported * sprite sheet data formats only include 'JSON' at this time. Supported bitmap font * data formats include 'xml' and 'fnt'. @@ -24,7 +24,7 @@ * The array of asset URLs that are going to be loaded * * @property assetURLs - * @type Array + * @type Array(String) */ this.assetURLs = assetURLs; diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 3b277c6..1ce6fc9 100755 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -383,7 +383,7 @@ * * IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer. * To remove filters simply set this property to 'null' * @property filters - * @type Array An array of filters + * @type {Array(Filter)} */ Object.defineProperty(PIXI.DisplayObject.prototype, 'filters', { diff --git a/src/pixi/display/DisplayObjectContainer.js b/src/pixi/display/DisplayObjectContainer.js index 99b4fda..e3ccc20 100644 --- a/src/pixi/display/DisplayObjectContainer.js +++ b/src/pixi/display/DisplayObjectContainer.js @@ -18,7 +18,7 @@ * [read-only] The array of children of this container. * * @property children - * @type Array + * @type Array(DisplayObject) * @readOnly */ this.children = []; diff --git a/src/pixi/display/MovieClip.js b/src/pixi/display/MovieClip.js index 05b51b8..e07df82 100644 --- a/src/pixi/display/MovieClip.js +++ b/src/pixi/display/MovieClip.js @@ -8,7 +8,7 @@ * @class MovieClip * @extends Sprite * @constructor - * @param textures {Array} an array of {Texture} objects that make up the animation + * @param textures {Array(Texture)} an array of {Texture} objects that make up the animation */ PIXI.MovieClip = function(textures) { diff --git a/src/pixi/filters/AbstractFilter.js b/src/pixi/filters/AbstractFilter.js index 0d5c16d..6727dc5 100644 --- a/src/pixi/filters/AbstractFilter.js +++ b/src/pixi/filters/AbstractFilter.js @@ -16,14 +16,14 @@ * An array of passes - some filters contain a few steps this array simply stores the steps in a liniear fashion. * For example the blur filter has two passes blurX and blurY. * @property passes - * @type Array an array of filter objects + * @type Array(Filter) * @private */ this.passes = [this]; /** * @property shaders - * @type Array an array of shaders + * @type Array(Shader) * @private */ this.shaders = []; diff --git a/src/pixi/filters/ColorMatrixFilter.js b/src/pixi/filters/ColorMatrixFilter.js index 771d6eb..8f1dcbe 100644 --- a/src/pixi/filters/ColorMatrixFilter.js +++ b/src/pixi/filters/ColorMatrixFilter.js @@ -47,7 +47,7 @@ * Sets the matrix of the color matrix filter * * @property matrix - * @type Array and array of 26 numbers + * @type Array(Number) * @default [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1] */ Object.defineProperty(PIXI.ColorMatrixFilter.prototype, 'matrix', { diff --git a/src/pixi/geom/Polygon.js b/src/pixi/geom/Polygon.js index d47c8a8..d615a89 100644 --- a/src/pixi/geom/Polygon.js +++ b/src/pixi/geom/Polygon.js @@ -5,7 +5,7 @@ /** * @class Polygon * @constructor - * @param points* {Array|Array|Point...|Number...} This can be an array of Points that form the polygon, + * @param points* {Array(Point)|Array(Number)|Point...|Number...} This can be an array of Points that form the polygon, * a flat array of numbers that will be interpreted as [x,y, x,y, ...], or the arguments passed can be * all the points of the polygon e.g. `new PIXI.Polygon(new PIXI.Point(), new PIXI.Point(), ...)`, or the * arguments passed can be flat x,y values e.g. `new PIXI.Polygon(x,y, x,y, x,y, ...)` where `x` and `y` are diff --git a/src/pixi/loaders/AssetLoader.js b/src/pixi/loaders/AssetLoader.js index a89e5d8..25adce2 100644 --- a/src/pixi/loaders/AssetLoader.js +++ b/src/pixi/loaders/AssetLoader.js @@ -12,7 +12,7 @@ * @class AssetLoader * @constructor * @uses EventTarget - * @param assetURLs {Array} An array of image/sprite sheet urls that you would like loaded + * @param assetURLs {Array(String)} An array of image/sprite sheet urls that you would like loaded * supported. Supported image formats include 'jpeg', 'jpg', 'png', 'gif'. Supported * sprite sheet data formats only include 'JSON' at this time. Supported bitmap font * data formats include 'xml' and 'fnt'. @@ -24,7 +24,7 @@ * The array of asset URLs that are going to be loaded * * @property assetURLs - * @type Array + * @type Array(String) */ this.assetURLs = assetURLs; diff --git a/src/pixi/renderers/webgl/utils/WebGLGraphics.js b/src/pixi/renderers/webgl/utils/WebGLGraphics.js index 6e4d8b3..72ebd00 100644 --- a/src/pixi/renderers/webgl/utils/WebGLGraphics.js +++ b/src/pixi/renderers/webgl/utils/WebGLGraphics.js @@ -389,7 +389,7 @@ * @param cpY {Number} Control point y * @param toX {Number} Destination point x * @param toY {Number} Destination point y - * @return {Array} + * @return {Array(Number)} */ PIXI.WebGLGraphics.quadraticBezierCurve = function(fromX, fromY, cpX, cpY, toX, toY) {