| Name | Type | Default | Description | 
|---|---|---|---|
| cb | function | callback when changed | |
| scope | object | owner of callback | |
| x | number | 0 | optional position of the point on the x axis | 
| y | number | 0 | optional position of the point on the y axis | 
Members
- 
    
    The position of the displayObject on the x axis relative to the local coordinates of the parent. 
- 
    
    The position of the displayObject on the x axis relative to the local coordinates of the parent. 
Methods
- 
    clone (cb, scope)PIXI.ObservablePoint
- 
    
    
    Creates a clone of this point. The callback and scope params can be overidden otherwise they will default to the clone object's values. Name Type Default Description cbfunction null optional callback when changed scopeobject null optional owner of callback Returns:Type Description PIXI.ObservablePoint a copy of the point 
- 
    
    
    Copies the data from another point Name Type Description pointPIXI.Point | PIXI.ObservablePoint point to copy from 
- 
    
    
    Returns true if the given point is equal to this point Name Type Description pPIXI.Point | PIXI.ObservablePoint The point to check Returns:Type Description boolean Whether the given point equal to this point 
- 
    
    
    Sets the point to a new x and y position. If y is omitted, both x and y will be set to x. Name Type Default Description xnumber 0 optional position of the point on the x axis ynumber 0 optional position of the point on the y axis