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

(Created page with "{{mirc title|$inroundrect Identifier}}'''$inrect''' returns {{mIRC|$true}} if the specified point is inside the specified rounded rectangle, {{mIRC|$false}} otherwise == Syn...")
 
 
Line 1: Line 1:
{{mirc title|$inroundrect Identifier}}'''$inrect''' returns {{mIRC|$true}} if the specified point is inside the specified rounded rectangle, {{mIRC|$false}} otherwise
+
{{mirc title|$inroundrect Identifier}}'''$inroundrect''' returns {{mIRC|$true}} if the specified point is inside the specified rounded rectangle, {{mIRC|$false}} otherwise
  
  

Latest revision as of 14:11, 1 February 2018

$inroundrect returns $true if the specified point is inside the specified rounded rectangle, $false otherwise


Synopsis[edit]

$inroundrect(x1,y1,x,y,w,h,w1,h1)

Paramters[edit]

  • x1 - the x coordinate of the point
  • y1 - the y coordinate of the point
  • x - the x coordinate of the rectangle
  • y - the y coordinate of the rectangle
  • w - the width of the rectangle
  • h - the height of the rectangle
  • w1 - the width of the rounded part for the rectangle
  • h1 - the height of the rounded part of the rectangle

Properties[edit]

None

Example[edit]

//echo -a $inroundrect(50,50,10,10,100,100,5,5)

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]

$inellipse $inrect $inpoly $onpoly