Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Rect.Rect

Switch to Manual
public Rect(left: float, top: float, width: float, height: float)

Parameters

Description

Creates a new rectangle.

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