cc.Scrollview getContentPosition() bug

I tried to use getContentPosition method for my scrollview. According the reference (http://docs.cocos2d-x.org/api-ref/creator/v1.4/classes/ScrollView.html), it supposed to return Position type but when I display it to the console, it returns Vec2 type.
I also tried to get the coordinates of the content but it returns undefined.

The Cocos Creator version?

The latest version, 2.0.5

Your want to get the position of the content?
use scrollview.content.position.

Important,don’t directly use the APIof Cocos2d-JS when coding a cocos creator project.cocos creator is originated from Cocos2d-JS,but it have a new componentized frameworks,their APIs are different and not compatible with each other.

You should use Cocos Creator’s api for coding.

I’m currently using the scrollview.content.position.

I’ll take note on the api reference. Thank you.