2011-03-07 00:50:44 +00: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.
|
2011-03-08 01:41:50 +00:00
|
|
|
* http://paperjs.org/
|
2011-03-07 00:50:44 +00:00
|
|
|
* http://scriptographer.org/
|
|
|
|
*
|
2011-03-08 01:41:50 +00:00
|
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
|
|
*
|
2011-03-07 00:50:44 +00:00
|
|
|
* Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
|
|
|
|
* http://lehni.org/ & http://jonathanpuckey.com/
|
|
|
|
*
|
2011-03-08 01:41:50 +00:00
|
|
|
* All rights reserved.
|
2011-03-07 00:50:44 +00:00
|
|
|
*/
|
|
|
|
|
2011-05-15 22:25:46 +01:00
|
|
|
var Tool = this.Tool = ToolHandler.extend({
|
|
|
|
/**
|
|
|
|
* The fixed time delay between each call to the {@link #onMouseDrag}
|
|
|
|
* event. Setting this to an interval means the {@link #onMouseDrag}
|
|
|
|
* event is called repeatedly after the initial {@link #onMouseDown}
|
|
|
|
* until the user releases the mouse.
|
|
|
|
*
|
|
|
|
* @return the interval time in milliseconds
|
|
|
|
*/
|
|
|
|
eventInterval: null
|
2011-03-03 16:32:55 +00:00
|
|
|
});
|