Point Class
The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
Constructor
Point
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        x
- 
                    
                        y
Parameters:
- 
                    
                        xNumberposition of the point on the x axis 
- 
                    
                        yNumberposition of the point on the y axis 
Methods
set
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        [x=0]
- 
                    
                        [y=0]
Sets the point to a new x and y position. If y is ommited, both x and y will be set to x.
Parameters:
- 
                    
                        [x=0]Number optionalposition of the point on the x axis 
- 
                    
                        [y=0]Number optionalposition of the point on the y axis 
Properties
x
    Number
    
    
    
    
    
    Default: 0
y
    Number
    
    
    
    
    
    Default: 0
