CRect:Size
The Size method returns the x and y length of the CRect object. The size is measured in pixel coordinates.
nSizeX, nSizeY = CRect:Size()
|
The following script fragment prints the x and y dimensions of the CRect:
|
-- create a CRect object |
|
--set the rectangle data |
|
-- returns the width and height |
|
-- prints nx=200, ny=300 |
CRect, Get, Image Coordinate System, Subpixel Coordinate Definition