使用Raphael绘制带连接点的矩形

tom*_*men 3 raphael

我试图绘制一个矩形,每个边缘有4个连接点(不在角落里).像这样 :

在此输入图像描述

因为稍后我需要在它们上使用鼠标事件.

ama*_*dan 5

你在找什么?