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 ==...")
 
(Example)
 
(One intermediate revision by the same user not shown)
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 ==
Line 17: Line 17:
  
 
== Example ==
 
== Example ==
<source lang="mIRC">//echo -a $speak(50,50,10,10,100,100)</source>
+
<source lang="mIRC">//echo -a $inellipse(50,50,10,10,100,100)</source>
  
 
== Compatibility ==
 
== Compatibility ==

Latest revision as of 15:08, 1 February 2018

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


Synopsis[edit]

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

Paramters[edit]

  • 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[edit]

None

Example[edit]

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

Compatibility[edit]

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[edit]

$inrect $inroundrect $inpoly $onpoly