function Project(view) {
		// Activate straight away by passing true to PaperScopeItem constructor,
		// so paper.project is set, as required by Layer and DoumentView
		// constructors.
		PaperScopeItem.call(this, true);
		this.layers = [];
		this.symbols = [];
		this._currentStyle = new Style();
		this.activeLayer = new Layer();
		if (view)
			this.view = view instanceof View ? view : View.create(view);
		this._selectedItems = {};
		this._selectedItemCount = 0;
		// See Item#draw() for an explanation of _updateVersion
		this._updateVersion = 0;
		// Change tracking, not in use for now. Activate once required:
		// this._changes = [];
		// this._changesById = {};
		this.options = {};
	}
/**
	 * Creates a Paper.js project containing one empty {@link Layer}, referenced
	 * by {@link Project#activeLayer}.
	 *
	 * Note that when working with PaperScript, a project is automatically
	 * created for us and the {@link PaperScope#project} variable points to it.
	 *
	 * @param {View|HTMLCanvasElement} view Either a view object or an HTML
	 * Canvas element that should be wrapped in a newly created view.
	 */
Creates a Paper.js project containing one empty  Layer, referenced
by  Project#activeLayer.

Note that when working with PaperScript, a project is automatically
created for us and the  PaperScope#project variable points to it.

@param {View|HTMLCanvasElement} view Either a view object or an HTML
Canvas element that should be wrapped in a newly created view.
Creates a Paper . js project containing one empty Layer referenced by Project#activeLayer . Note that when working with PaperScript a project is automatically created for us and the PaperScope#project variable points to it . @param { View|HTMLCanvasElement } view Either a view object or an HTML Canvas element that should be wrapped in a newly created view .
function Project(view) {
		PaperScopeItem.call(this, true);
		this.layers = [];
		this.symbols = [];
		this._currentStyle = new Style();
		this.activeLayer = new Layer();
		if (view)
			this.view = view instanceof View ? view : View.create(view);
		this._selectedItems = {};
		this._selectedItemCount = 0;
		this._updateVersion = 0;
		this.options = {};
	}
function Project ( view ) { PaperScopeItem . call ( this , true ) ; this . layers = [ ] ; this . symbols = [ ] ; this . _currentStyle = new Style ( ) ; this . activeLayer = new Layer ( ) ; if ( view ) this . view = view instanceof View ? view : View . create ( view ) ; this . _selectedItems = { } ; this . _selectedItemCount = 0 ; this . _updateVersion = 0 ; this . options = { } ; }
Creates a Paper.js project containing one empty {@link Layer}, referenced
 by {@link Project#activeLayer}.
Creates a Paper . js project containing one empty { @link Layer } referenced by { @link Project#activeLayer } .
// Activate straight away by passing true to PaperScopeItem constructor, // so paper.project is set, as required by Layer and DoumentView // constructors. // See Item#draw() for an explanation of _updateVersion // Change tracking, not in use for now. Activate once required: // this._changes = []; // this._changesById = {};