Fix doc of Node.getAbsoluteScale() return type

This commit is contained in:
naqtn 2019-09-17 19:58:32 +09:00
parent 7a5865c2a2
commit 97dc4b6143

View File

@ -1681,7 +1681,10 @@ export abstract class Node<Config extends NodeConfig = NodeConfig> {
* account its ancestor scales
* @method
* @name Konva.Node#getAbsoluteScale
* @returns {Konva.Transform}
* @returns {Object}
* @example
* // get absolute scale x
* var scaleX = node.getAbsoluteScale().x;
*/
getAbsoluteScale(top?) {
// if using an argument, we can't cache the result.