Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
SDL
SDL.Rect

Method SDL.Rect()->cast()


Method cast

mixed cast(string type)

Description

It is possible to cast a Rect object to an array or to a mapping. The array will have the values in the x, y, w, h order and the mapping will have the values associated with those names.