Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 408 Bytes

_CheckPointInRect_.md

File metadata and controls

27 lines (15 loc) · 408 Bytes

CheckPointInRect

判断点是否位于指定矩形区域内(包含矩形边界)

flag = CheckPointInRect(point, rect [, border])

参数:

  • point [table]:点坐标
  • rect [table]:矩形区域
  • border [boolean]:是否包含边界,可选,默认为 true

返回值:

  • flag [boolean]:是否位于区域内

示例