init_from_rect


Description:

public unowned Rect? init_from_rect (Rect src)

Initializes this using the given src rectangle.

This function will implicitly normalize the Rect before returning.

Parameters:

this

a Rect

src

a Rect

Returns:

the initialized rectangle