Skip to main content

RectangleMake

Type​

operator

Summary​

Creates a new rectangle value.

Syntax​

rectangle <mRect>

Description​

Creates a new rectangle value.

Parameters​

NameTypeDescription

mRect

An expression which evaluates to a list of 4 numbers, the left, top, right and bottom edges of the rectangle.

Examples​

// Initialize tRect to a rectangle value with origin at point 50,50 and size 100x50
variable tRect
put rectangle [50, 50, 150, 100] into tRect

Value​

NameTypeDescription

return

A new rectange with the given edges.

Thank you for your feedback!

Was this page helpful?