init

fun init(x: Float, y: Float): Point

Initializes @p to the given @x and @y coordinates.

It's safe to call this function multiple times.

Return

the initialized point

Since

1.0

Parameters

x

the X coordinate

y

the Y coordinate