diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index 11db2a9..0411e79 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -113,6 +113,7 @@ Object.defineProperties(DisplayObject.prototype, { /** * The position of the displayObject on the x axis relative to the local coordinates of the parent. + * An alias to position.x * * @member {number} * @memberof PIXI.DisplayObject# @@ -130,6 +131,7 @@ /** * The position of the displayObject on the y axis relative to the local coordinates of the parent. + * An alias to position.y * * @member {number} * @memberof PIXI.DisplayObject# @@ -175,6 +177,7 @@ * The coordinate of the object relative to the local coordinates of the parent. * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ position: { get: function() @@ -190,6 +193,7 @@ * The scale factor of the object. * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ scale: { get: function() { @@ -204,6 +208,7 @@ * The pivot point of the displayObject that it rotates around * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ pivot: { get: function() { @@ -218,6 +223,7 @@ * The skew factor for the object in radians. * * @member {PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ skew: { get: function() { @@ -232,6 +238,7 @@ * The rotation of the object in radians. * * @member {number} + * @memberof PIXI.DisplayObject# */ rotation: { get: function () diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index 11db2a9..0411e79 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -113,6 +113,7 @@ Object.defineProperties(DisplayObject.prototype, { /** * The position of the displayObject on the x axis relative to the local coordinates of the parent. + * An alias to position.x * * @member {number} * @memberof PIXI.DisplayObject# @@ -130,6 +131,7 @@ /** * The position of the displayObject on the y axis relative to the local coordinates of the parent. + * An alias to position.y * * @member {number} * @memberof PIXI.DisplayObject# @@ -175,6 +177,7 @@ * The coordinate of the object relative to the local coordinates of the parent. * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ position: { get: function() @@ -190,6 +193,7 @@ * The scale factor of the object. * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ scale: { get: function() { @@ -204,6 +208,7 @@ * The pivot point of the displayObject that it rotates around * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ pivot: { get: function() { @@ -218,6 +223,7 @@ * The skew factor for the object in radians. * * @member {PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ skew: { get: function() { @@ -232,6 +238,7 @@ * The rotation of the object in radians. * * @member {number} + * @memberof PIXI.DisplayObject# */ rotation: { get: function () diff --git a/src/core/sprites/Sprite.js b/src/core/sprites/Sprite.js index 65367f2..f7ccc39 100644 --- a/src/core/sprites/Sprite.js +++ b/src/core/sprites/Sprite.js @@ -86,6 +86,7 @@ * * @member {number} * @default 0xFFFFFF + * @private */ this.cachedTint = 0xFFFFFF; diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index 11db2a9..0411e79 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -113,6 +113,7 @@ Object.defineProperties(DisplayObject.prototype, { /** * The position of the displayObject on the x axis relative to the local coordinates of the parent. + * An alias to position.x * * @member {number} * @memberof PIXI.DisplayObject# @@ -130,6 +131,7 @@ /** * The position of the displayObject on the y axis relative to the local coordinates of the parent. + * An alias to position.y * * @member {number} * @memberof PIXI.DisplayObject# @@ -175,6 +177,7 @@ * The coordinate of the object relative to the local coordinates of the parent. * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ position: { get: function() @@ -190,6 +193,7 @@ * The scale factor of the object. * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ scale: { get: function() { @@ -204,6 +208,7 @@ * The pivot point of the displayObject that it rotates around * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ pivot: { get: function() { @@ -218,6 +223,7 @@ * The skew factor for the object in radians. * * @member {PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ skew: { get: function() { @@ -232,6 +238,7 @@ * The rotation of the object in radians. * * @member {number} + * @memberof PIXI.DisplayObject# */ rotation: { get: function () diff --git a/src/core/sprites/Sprite.js b/src/core/sprites/Sprite.js index 65367f2..f7ccc39 100644 --- a/src/core/sprites/Sprite.js +++ b/src/core/sprites/Sprite.js @@ -86,6 +86,7 @@ * * @member {number} * @default 0xFFFFFF + * @private */ this.cachedTint = 0xFFFFFF; diff --git a/src/deprecation.js b/src/deprecation.js index 1027dbc..121f120 100644 --- a/src/deprecation.js +++ b/src/deprecation.js @@ -382,6 +382,12 @@ }; Object.defineProperties(core.TextStyle.prototype, { + /** + * Set all properties of a font as a single string + * + * @name PIXI.TextStyle#font + * @deprecated since version 4.0.0 + */ font: { get: function () { diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index 11db2a9..0411e79 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -113,6 +113,7 @@ Object.defineProperties(DisplayObject.prototype, { /** * The position of the displayObject on the x axis relative to the local coordinates of the parent. + * An alias to position.x * * @member {number} * @memberof PIXI.DisplayObject# @@ -130,6 +131,7 @@ /** * The position of the displayObject on the y axis relative to the local coordinates of the parent. + * An alias to position.y * * @member {number} * @memberof PIXI.DisplayObject# @@ -175,6 +177,7 @@ * The coordinate of the object relative to the local coordinates of the parent. * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ position: { get: function() @@ -190,6 +193,7 @@ * The scale factor of the object. * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ scale: { get: function() { @@ -204,6 +208,7 @@ * The pivot point of the displayObject that it rotates around * * @member {PIXI.Point|PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ pivot: { get: function() { @@ -218,6 +223,7 @@ * The skew factor for the object in radians. * * @member {PIXI.ObservablePoint} + * @memberof PIXI.DisplayObject# */ skew: { get: function() { @@ -232,6 +238,7 @@ * The rotation of the object in radians. * * @member {number} + * @memberof PIXI.DisplayObject# */ rotation: { get: function () diff --git a/src/core/sprites/Sprite.js b/src/core/sprites/Sprite.js index 65367f2..f7ccc39 100644 --- a/src/core/sprites/Sprite.js +++ b/src/core/sprites/Sprite.js @@ -86,6 +86,7 @@ * * @member {number} * @default 0xFFFFFF + * @private */ this.cachedTint = 0xFFFFFF; diff --git a/src/deprecation.js b/src/deprecation.js index 1027dbc..121f120 100644 --- a/src/deprecation.js +++ b/src/deprecation.js @@ -382,6 +382,12 @@ }; Object.defineProperties(core.TextStyle.prototype, { + /** + * Set all properties of a font as a single string + * + * @name PIXI.TextStyle#font + * @deprecated since version 4.0.0 + */ font: { get: function () { diff --git a/src/extras/BitmapText.js b/src/extras/BitmapText.js index 1f119f9..6e21967 100644 --- a/src/extras/BitmapText.js +++ b/src/extras/BitmapText.js @@ -174,6 +174,7 @@ * Setting the anchor to 1,1 would mean the text's origin point will be the bottom right corner * * @member {PIXI.Point | number} + * @memberof PIXI.extras.BitmapText# */ anchor: { get : function() {