Lingo Dictionary > G-K > intersect() |  |

intersect()

Syntax

    rectangle1. Intersect(rectangle2)
    intersect(rectangle1, rectangle2)

Description

Function; determines the rectangle formed where`rectangle1` and `rectangle2` intersect.

Example

This statement assigns the variable `newRectangle` to the rectangle formed where rectangle toolKit intersects rectangle Ramp:

    newRectangle = toolKit.intersect(Ramp)

See also

`map()`, `rect()`, `union()`