2011-04-21 19:37:51 +02:00
|
|
|
/*
|
2013-01-28 18:03:27 -08:00
|
|
|
* Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
2011-04-21 19:37:51 +02:00
|
|
|
* http://paperjs.org/
|
2011-06-30 06:01:51 -04:00
|
|
|
*
|
2015-12-27 18:09:25 +01:00
|
|
|
* Copyright (c) 2011 - 2016, Juerg Lehni & Jonathan Puckey
|
2014-01-04 01:47:16 +01:00
|
|
|
* http://scratchdisk.com/ & http://jonathanpuckey.com/
|
2011-06-30 06:01:51 -04:00
|
|
|
*
|
2011-07-01 12:17:45 +02:00
|
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
|
|
*
|
2011-04-21 19:37:51 +02:00
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
|
2016-02-26 16:31:50 +01:00
|
|
|
// Path#_segmentSelection is the addition of all segment's states, and is
|
2016-03-17 13:02:26 +01:00
|
|
|
// compared with SegmentSelection.ALL, the combination of all
|
2016-02-26 16:31:50 +01:00
|
|
|
// SegmentSelection values to see if all segments are fully selected.
|
|
|
|
var SegmentSelection = {
|
2016-03-17 13:02:26 +01:00
|
|
|
POINT: 1,
|
|
|
|
HANDLE_IN: 2,
|
|
|
|
HANDLE_OUT: 4,
|
|
|
|
ALL: 1 | 2 | 4 // POINT | HANDLE_IN | HANDLE_OUT
|
2011-04-21 19:37:51 +02:00
|
|
|
};
|