Description

Absolute positions. Returns an object with left and top properties

Returns

Object

Example

In method ready

var el = this.createElement();
    el2 = this.createElement();

el1.x = 50;
el2.x = 100

el1.append(el2);
stage.append(el2);

console.log(el2.position()); // {left: 150, top: 0}

Discussion