RectangleMake

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
rectangle <mRect>
Associationscom.livecode.canvas
Summary

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.

Example
// 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
Values
NameTypeDescription
return

A new rectange with the given edges.

Description

Creates a new rectangle value.

Tagscanvas