paper.js/src/tool/Tool.js

28 lines
806 B
JavaScript
Raw Normal View History

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
*/
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
});