2011-04-21 13:37:51 -04:00
|
|
|
/*
|
2013-01-28 21:03:27 -05:00
|
|
|
* Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
2011-04-21 13:37:51 -04:00
|
|
|
* http://paperjs.org/
|
2011-06-30 06:01:51 -04:00
|
|
|
*
|
2015-12-27 12:09:25 -05:00
|
|
|
* Copyright (c) 2011 - 2016, Juerg Lehni & Jonathan Puckey
|
2014-01-03 19:47:16 -05:00
|
|
|
* http://scratchdisk.com/ & 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.
|
|
|
|
*/
|
|
|
|
|
2016-02-26 10:31:50 -05:00
|
|
|
// Path#_segmentSelection is the addition of all segment's states, and is
|
2016-03-17 08:02:26 -04:00
|
|
|
// compared with SegmentSelection.ALL, the combination of all
|
2016-02-26 10:31:50 -05:00
|
|
|
// SegmentSelection values to see if all segments are fully selected.
|
|
|
|
var SegmentSelection = {
|
2016-03-17 08:02:26 -04:00
|
|
|
POINT: 1,
|
|
|
|
HANDLE_IN: 2,
|
|
|
|
HANDLE_OUT: 4,
|
|
|
|
ALL: 1 | 2 | 4 // POINT | HANDLE_IN | HANDLE_OUT
|
2011-04-21 13:37:51 -04:00
|
|
|
};
|