def __init__(self, box1, box2, boxdists=[0,0]):
self.box1 = box1
self.box2 = box2
connector_pt.__init__(self,
[path.normsubpath([path.normline_pt(self.box1.center[0], self.box1.center[1],
self.box2.center[0], self.box2.center[1])], closed=0)])
self.omitends(box1, box2)
self.shortenpath(boxdists)
评论列表
文章目录