Error getting tags :
error 404Error getting tags :
error 404 is within | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
is within
Basics
Expander triangle
Type
Operator
Syntax
point is within rectangle
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Evaluates to true if a point is inside the specified rectangle, false if it is outside.
Examples

"22,33" is within "22,17,150,200" -- evaluates to true
the mouseLoc is within the rect of this stack

Additional Comments
Expander triangle

Use the is within operator to determine whether a point is inside a rectangle.

Parameters:

The point is any expression that evaluates to a point--a vertical and horizontal distance from the top left of the current stack, separated by a comma.

The rectangle is any expression that evaluates to a rectangle--a right, top, left, and bottom edge, separated by commas.

Comments:

The expression

point is within the rect of object

is equivalent to

within(object,point)

unless the object is a graphic or image, or a tabbed button.

The is within operator is the logical inverse of the is not within operator. When one is true, the other is false.

User Comments
Expander triangle