Point Methods

The methods defined in the Point primitive type are summarized in the following table.

Method Description
display Returns a string representing the value of the receiver
set Sets the value of the receiver to a specified point
setX Sets the x (horizontal) value of the receiver
setY Sets the y (vertical) value of the receiver
x Returns the x (horizontal) value of the receiver
y Returns the y (vertical) value of the receiver