init


Description:

public unowned Point? init (float x, float y)

Initializes this to the given x and y coordinates.

It's safe to call this function multiple times.

Parameters:

this

a Point

x

the X coordinate

y

the Y coordinate

Returns:

the initialized point