rectanglesizestr(
RECTANGLE
)

The rectanglesizestr( function converts a rectangle into text in the format top,left,height,width.


Parameters

This function has one parameter:

rectangle – is the rectangle you want to get information about. See the rectangle( and rectanglesize( functions for additional information.


Description

Converts a rectangle into text in the format top,left,height,width.

rectanglesizestr(rectangle(100,20,180,50)) ☞ 100,20,80,30
rectanglesizestr(info("screenrectangle")) ☞ 0,0,1080,1920

This function is similar to the rectanglestr( function, which outputs the coordinates in the format, top,left,bottom,right.

Note: This function is equivalent to:

str(rtop(therect))+","+str(rleft(therect))+","+str(rheight(therect))+","+str(rwidth(therect))

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.