integralrectangle(
RECTANGLE
)

The integralrectangle( function converts rectangle coordinates to integers.


Parameters

This function has one parameter:

rectangle – The rectangle to convert.


Description

Rectangles have four coordinates, which can be floating point values. This function rounds all four coordinates to the nearest integer value.

integralrectangle(rectanglesize(10.2, 20.8, 14.5, 19.1)) ☞ 10,21,15,19

Note: This function returns a rectangle, which is a binary value. If you want to see what the coordinates are in a rectangle, use the rectanglestr( or rectanglesizestr( function. The result shown above is from the rectanglesizestr( function.


See Also


History

VersionStatusNotes
10.0NewNew in this version.