y

y(): Integer;

The y method of the Point primitive type returns the y (vertical) value of the receiver.

The following example shows the use of the y method.

newPoint.setY(yScale.verticalPixels.Integer - newPoint.y);