Extracted from Pike v7.8 release 866 at 2016-11-06.
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.