mirror of
https://github.com/konvajs/konva.git
synced 2025-07-15 23:39:55 +08:00
updated more docs
This commit is contained in:
parent
3617d8ef5f
commit
3997d74317
6
dist/kinetic-core.js
vendored
6
dist/kinetic-core.js
vendored
@ -1755,8 +1755,8 @@ Kinetic.Node.addSetters(Kinetic.Node, ['rotationDeg']);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set offset
|
* set offset. A node's offset defines the positition and rotation point
|
||||||
* @name setOffset a node's offset defines the positition and rotation point
|
* @name setOffset
|
||||||
* @methodOf Kinetic.Node.prototype
|
* @methodOf Kinetic.Node.prototype
|
||||||
* @param {Number} x
|
* @param {Number} x
|
||||||
* @param {Number} y
|
* @param {Number} y
|
||||||
@ -2374,7 +2374,7 @@ Kinetic.Stage = Kinetic.Container.extend({
|
|||||||
* @name toDataURL
|
* @name toDataURL
|
||||||
* @methodOf Kinetic.Stage.prototype
|
* @methodOf Kinetic.Stage.prototype
|
||||||
* @param {Object} config
|
* @param {Object} config
|
||||||
* @param {Function} callback since the stage toDataURL() method is asynchronous,
|
* @param {Function} config.callback since the stage toDataURL() method is asynchronous,
|
||||||
* the data url string will be passed into the callback
|
* the data url string will be passed into the callback
|
||||||
* @param {String} [config.mimeType] mime type. can be "image/png" or "image/jpeg".
|
* @param {String} [config.mimeType] mime type. can be "image/png" or "image/jpeg".
|
||||||
* "image/png" is the default
|
* "image/png" is the default
|
||||||
|
@ -1148,8 +1148,8 @@ Kinetic.Node.addSetters(Kinetic.Node, ['rotationDeg']);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set offset
|
* set offset. A node's offset defines the positition and rotation point
|
||||||
* @name setOffset a node's offset defines the positition and rotation point
|
* @name setOffset
|
||||||
* @methodOf Kinetic.Node.prototype
|
* @methodOf Kinetic.Node.prototype
|
||||||
* @param {Number} x
|
* @param {Number} x
|
||||||
* @param {Number} y
|
* @param {Number} y
|
||||||
|
@ -287,7 +287,7 @@ Kinetic.Stage = Kinetic.Container.extend({
|
|||||||
* @name toDataURL
|
* @name toDataURL
|
||||||
* @methodOf Kinetic.Stage.prototype
|
* @methodOf Kinetic.Stage.prototype
|
||||||
* @param {Object} config
|
* @param {Object} config
|
||||||
* @param {Function} callback since the stage toDataURL() method is asynchronous,
|
* @param {Function} config.callback since the stage toDataURL() method is asynchronous,
|
||||||
* the data url string will be passed into the callback
|
* the data url string will be passed into the callback
|
||||||
* @param {String} [config.mimeType] mime type. can be "image/png" or "image/jpeg".
|
* @param {String} [config.mimeType] mime type. can be "image/png" or "image/jpeg".
|
||||||
* "image/png" is the default
|
* "image/png" is the default
|
||||||
|
Loading…
Reference in New Issue
Block a user