Size Class Reference
[ECMAScript/QtScript - Native Objects]

Qt Size type. More...

Inheritance diagram for Size:

Object List of all members.

Properties

Number height
Number width

Constructors

 Size (Size size)
 Size (Number width, Number height)
 Size ()

Methods

void translate ()

Detailed Description

Qt Size type.

This is the DAZ Script counterpart of the QSize type used in the DAZ Studio SDK. A Size object is a two dimensional representation of a width and height.


Constructor & Destructor Documentation

Size::Size (  ) 

Default constructor.

Size::Size ( Number  width,
Number  height 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
width The width for the size
height The height for the size.

Size::Size ( Size  size  ) 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
size The size to copy


Member Function Documentation

void Size::translate (  ) 

Swaps the width and height of the size.


Member Data Documentation

Number Size::height

The height of the size.

Number Size::width

The width of the size.


Generated on Thu Sep 24 12:21:16 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.