Documentation update

This commit is contained in:
Mat Groves 2013-02-20 19:05:51 +00:00
parent 7a977ace5c
commit 18dca7aee1
88 changed files with 21329 additions and 331 deletions

View file

@ -1,22 +1,33 @@
/**
* @author Mat Groves http://matgroves.com/
*/
var PIXI = PIXI || {};
/**
* @class The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
* The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
* @class Point
* @constructor
* @param x position of the point
* @param y position of the point
* @return A new Rectangle.
* @param x {Number} position of the point
* @param y {Number} position of the point
*/
PIXI.Point = function(x, y)
{
/**
* @property x
* @type Number
* @default 0
*/
this.x = x ? x : 0;
/**
* @property y
* @type Number
* @default 0
*/
this.y = y ? y : 0;
}
/**
* @method clone
* @return a copy of the point
*/
PIXI.Point.clone = function()