mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
fixed up unit serialization tests. cleaned up constructor jsdoc comments. fixed Ellipse setRadius method
This commit is contained in:
@@ -25,13 +25,7 @@
|
||||
* @param {Number} [config.offset.x]
|
||||
* @param {Number} [config.offset.y]
|
||||
* @param {Boolean} [config.draggable]
|
||||
* @param {String} [config.dragConstraint] can be vertical, horizontal, or none. The default
|
||||
* is none
|
||||
* @param {Object} [config.dragBounds]
|
||||
* @param {Number} [config.dragBounds.top]
|
||||
* @param {Number} [config.dragBounds.right]
|
||||
* @param {Number} [config.dragBounds.bottom]
|
||||
* @param {Number} [config.dragBounds.left]
|
||||
* @param {Function} [config.dragBoundFunc] dragBoundFunc(pos, evt) should return new position
|
||||
*/
|
||||
Kinetic.Layer = function(config) {
|
||||
this._initLayer(config);
|
||||
|
||||
Reference in New Issue
Block a user