LuaDocs/Box

From Data Realms Wiki

Revision as of 01:08, 24 June 2011 by 94.23.249.157 (Talk)
Jump to: navigation, search

Contents

Has no parent class

Generic Class. A useful 2D axis-aligned rectangle class.

Go back to Class Index


Properties

ClassName

Read-only property. The class name of this Box.A string with the friendly-formatted type name of this Box.

Corner

The primary corner of this boxA Vector with the primary corner of this box.

Width

The width of this box. Note that this can be negative if the box hasn't been righted with Unflip().A float value that represents the width value of this Box.

Height

The height of this box. Note that this can be negative if the box hasn't been righted with Unflip().A float value that represents the height value of this Box.

Center

Read-only property. The center point of this Box' area, in absolute Scene coordinates.The center point.

Area

Read-only property. The width times the height.The width times the height.


Geez, that's unbelievalbe. Kudos and such.

Personal tools