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 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 |
Subpixel Coordinate Definition
Mira Pro x64 Script User's Guide, v.8.77 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.