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