Rect.Rect Manual     Reference     Scripting  
Scripting > Runtime Classes > Rect
Rect.Rect

static function Rect (left : float, top : float, width : float, height : float) : Rect

Description

Creates a new rectangle.

var rect = Rect (0, 0, 10, 10);