init_from_rect


Description:

public unowned Quad? init_from_rect (Rect r)

Initializes a Quad using the four corners of the given Rect.

Parameters:

this

the Quad to initialize

r

a Rect

Returns:

the initialized Quad