|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles Qt Script for Applications

[Prev: Point] [Home] [Next: Size]

Rect

A Rect object represents a rectangle.

The rectangle class provides three constructors.

    var rect = new Rect( 10, 20, 30, 40 ); // x=10, y=20, width=30, height=40
    var duplicate = new Rect( rect );      // x=10, y=20, width=30, height=40
    var empty = new Rect();                // x=0, y=0, width=0, height=0
Rect Properties
Rect Functions

[Prev: Point] [Home] [Next: Size]


Copyright © 2001-2006 TrolltechTrademarks
QSA version 1.1.5