2011-05-07 08:39:17 -04:00
|
|
|
/*
|
|
|
|
* Paper.js
|
|
|
|
*
|
|
|
|
* This file is part of Paper.js, a JavaScript Vector Graphics Library,
|
|
|
|
* based on Scriptographer.org and designed to be largely API compatible.
|
|
|
|
* http://paperjs.org/
|
|
|
|
* http://scriptographer.org/
|
|
|
|
*
|
|
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
|
|
|
|
* http://lehni.org/ & http://jonathanpuckey.com/
|
|
|
|
*
|
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
var ChangeFlags = {
|
2011-05-15 19:01:06 -04:00
|
|
|
GEOMETRY: 1, // Item geometry (path, bounds)
|
|
|
|
STROKE: 2, // Stroke geometry (excluding color)
|
2011-05-07 12:11:12 -04:00
|
|
|
STYLE: 4, // Fille style or stroke color / dash,
|
|
|
|
HIERARCHY: 8 // Change in item hierarchy
|
2011-05-07 11:52:54 -04:00
|
|
|
};
|