mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-10 06:41:59 -05:00
25 lines
754 B
JavaScript
25 lines
754 B
JavaScript
/*
|
|
* 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/
|
|
*
|
|
* Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
|
|
* http://lehni.org/ & http://jonathanpuckey.com/
|
|
*
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
// 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.
|
|
var SelectionState = {
|
|
HANDLE_IN: 1,
|
|
HANDLE_OUT: 2,
|
|
POINT: 4
|
|
};
|