init_from_vec2


Description:

[ Version ( since = "1.4" ) ]
public unowned Point? init_from_vec2 (Vec2 src)

Initializes this with the coordinates inside the given Vec2.

Parameters:

this

the Point to initialize

src

a Vec2

Returns:

the initialized point