Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
并且只会返回一个矩形,如何让它返回外框和内框的两个矩形或者返回方框中间的点
中间的x坐标: (r.x()+r.w()/2) y坐标: (r.y()+r.h()/2)
不是这样的,我的意思是返回外框和内框中间的点而不是整个矩形方框中间的点呀
你有具体的图片吗?