|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications | ![]() |
[Prev: Rect] [Home] [Next: RegExp]
The Size class represents a two dimensional size. The size is represented using width and height.
The Size class provides three construtors:
var size = new Size( 100, 200 ); // width = 100, height = 200 var duplicate = new Size( size ); // width = 100, height = 200 var empty = new Size(); // width = 0, height = 0
width : Number; The width of the size.
height : Number; The height of the size.
translate(); The translate function swaps the width and height of the size.
[Prev: Rect] [Home] [Next: RegExp]
Copyright © 2001-2006 Trolltech | Trademarks | QSA version 1.1.5
|