Source: Point.js

Point.js

/**
 * The point class.
 *
 * @class
 * @extends PIXI.Point
 * @param {number} x - The x coordinate
 * @param {number} y - The y coordinate
 */
function Point() {
    this.initialize(...arguments);
}

Point.prototype = Object.create(PIXI.Point.prototype);
Point.prototype.constructor = Point;

/**
 * Initializes the point
 *
 * @param {number} x - The x coordinate of the point
 * @param {number} y - The y coordinate of the point
 */
Point.prototype.initialize = function(x, y) {
    PIXI.Point.call(this, x, y);
};