rectanglestr(
RECTANGLE
)

The rectanglestr( function converts a rectangle into text in the format top,left,bottom,right.


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,bottom,right.

rectanglestr(rectangle(100,20,180,50)) ☞ 100,20,180,50
rectanglestr(info("screenrectangle")) ☞ 0,0,1080,1920

Note: This function is equivalent to:

str(rtop(therect))+","+str(rleft(therect))+","+str(rbottom(therect))+","+str(rright(therect))

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.