lib/shapes/Text.py
def translateTo(self, coord=Coordinate()):
		"""Translates the text to the given coordinate.

		@param coord: The new coordinate to translate to
		@type coord: Coordinate
		"""

		oldx, oldy = self.position
		self.translate(x=coord.x - oldx, y=coord.y - oldy)
Translates the text to the given coordinate.

		@param coord: The new coordinate to translate to
		@type coord: Coordinate
		
Translates the text to the given coordinate.
Translates the text to the given coordinate .
def translateTo(self, coord=Coordinate()):
		oldx, oldy = self.position
		self.translate(x=coord.x - oldx, y=coord.y - oldy)
def translateTo ( self , coord = Coordinate ( ) ) : oldx , oldy = self . position self . translate ( x = coord . x - oldx , y = coord . y - oldy )
Translates the text to the given coordinate.
Translates the text to the given coordinate .
"""Translates the text to the given coordinate.

		@param coord: The new coordinate to translate to
		@type coord: Coordinate
		"""
self
coord
The new coordinate to translate to
The new coordinate to translate to