|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications | ![]() |
[Prev: Rect] [Home] [Next: RegExp]
The Size 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 copy = new Size( size ); // width = 100, height = 200 var empty = new Size(); // width = 0, height = 0
width
Represents the width of the size.
height
Represents the height of the size.
translate()
The translate function swaps the width and height of the size.
[Prev: Rect] [Home] [Next: RegExp]
Copyright © 2001-2003 Trolltech | Trademarks | QSA version 1.0.0
|