Calculates the coordinates of a point at a certain
position on the Rectangle's perimeter.
position is a fraction between 0 and 1 which defines how far into the perimeter the point is.
A value of 0 or 1 returns the point at the top left corner of the rectangle, while a value of 0.5 returns the point at the bottom right corner of the rectangle. Values between 0 and 0.5 are on the top or the right side and values between 0.5 and 1 are on the bottom or the left side.
The normalized distance into the Rectangle's perimeter to return.
|object | Phaser.Geom.Point
An object to update with the
output object, or a new Point if no
output object was given.