20 lines
552 B
HTML
20 lines
552 B
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>obj.in.box</TITLE></HEAD>
|
|
<BODY>
|
|
<h1>obj.in.box</h1>
|
|
<B>Category</B><p>
|
|
<a href="test_commands.html">Test commands</a> / <a href="object_commands.html">Object/view commands</a><p>
|
|
<p>
|
|
<B>Syntax</B><p>
|
|
<p>
|
|
if (obj.in.box(oA,X1,Y1,X2,Y2)) { .....<p>
|
|
<B>Description</B><p>
|
|
<p>
|
|
Returns true if all of the bottom row of pixels of object oA are within the region (X1,Y1,X2,Y2).<p>
|
|
<B>See also</B><p>
|
|
<a href="posn.html">posn</a><p>
|
|
<a href="right_posn.html">right.posn</a><p>
|
|
<a href="center_posn.html">center.posn</a><p>
|
|
</BODY></HTML>
|