def drawOn(self,img): cv.PutText(img.raw,self.text,tuple(_h.allint(self.origin)), self.font, self.color)
def __init__(self, points, close = False,**args): SimpleShape.__init__(self,**args) self.points = _h.allint(points) self.close = close