2011-04-21 13:37:51 -04:00
|
|
|
/*
|
|
|
|
* Paper.js
|
2011-06-30 06:01:51 -04:00
|
|
|
*
|
2011-04-21 13:37:51 -04:00
|
|
|
* 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/
|
2011-06-30 06:01:51 -04:00
|
|
|
*
|
2011-04-21 13:37:51 -04:00
|
|
|
* Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
|
|
|
|
* http://lehni.org/ & http://jonathanpuckey.com/
|
2011-06-30 06:01:51 -04:00
|
|
|
*
|
2011-07-01 06:17:45 -04:00
|
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
|
|
*
|
2011-04-21 13:37:51 -04:00
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
|
2011-06-14 10:37:25 -04:00
|
|
|
// These values are ordered so that SelectionState.POINT has the highest value.
|
|
|
|
// As Path#_selectedSegmentState is the addition of all segment's states, and is
|
|
|
|
// used to see if all segments are fully selected, meaning they are set to
|
|
|
|
// SelectionState.POINT.
|
2011-04-21 13:37:51 -04:00
|
|
|
var SelectionState = {
|
2011-06-14 10:37:25 -04:00
|
|
|
HANDLE_IN: 1,
|
|
|
|
HANDLE_OUT: 2,
|
|
|
|
POINT: 4
|
2011-04-21 13:37:51 -04:00
|
|
|
};
|