mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Merge pull request #743 from naqtn/master
Fix doc of `Node.getAbsoluteScale()` return type
This commit is contained in:
commit
db4f714527
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user