From WikiChip
Difference between revisions of "mirc/identifiers/$inellipse"
< mirc‎ | identifiers

(Created page with "{{mirc title|$inellipse Identifier}}'''$inellipse''' returns {{mIRC|$true}} if the specified point is inside the specified ellipse, {{mIRC|$false}} otherwise == Synopsis ==...")
 
Line 11: Line 11:
 
* '''y''' - the y coordinate of the ellipse
 
* '''y''' - the y coordinate of the ellipse
 
* '''w''' - the width of the ellipse
 
* '''w''' - the width of the ellipse
* '''h''' - the height of the ellipse0
+
* '''h''' - the height of the ellipse
  
 
== Properties ==
 
== Properties ==

Revision as of 15:08, 1 February 2018

$inellipse returns $true if the specified point is inside the specified ellipse, $false otherwise


Synopsis

$inellipse(x1,y1,x,y,w,h)

Paramters

  • x1 - the x coordinate of the point
  • y1 - the y coordinate of the point
  • x - the x coordinate of the ellipse
  • y - the y coordinate of the ellipse
  • w - the width of the ellipse
  • h - the height of the ellipse

Properties

None

Example

//echo -a $speak(50,50,10,10,100,100)

Compatibility

Added: mIRC v6.17
Added on: 17 Feb 2006
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

$inrect $inroundrect $inpoly $onpoly