Version: 2022.3
Experimental: this API is experimental and might be changed or removed in the future.

Edge.Overlaps

切换到手册
public bool Overlaps (Rect rectangle);

参数

rectangle 矩形。

返回

bool 如果边缘与矩形重叠,则为 true。

描述

检查边缘与矩形是否重叠。