20 lines
565 B
HTML
20 lines
565 B
HTML
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE>center.posn</TITLE></HEAD>
|
||
|
<BODY>
|
||
|
<h1>center.posn</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 (center.posn(oA,X1,Y1,X2,Y2)) { .....<p>
|
||
|
<B>Description</B><p>
|
||
|
<p>
|
||
|
Returns true if the co-ordinates of the bottom-middle pixel 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="obj_in_box.html">obj.in.box</a><p>
|
||
|
</BODY></HTML>
|