def definir_texto(self, texto):
        """Define el texto a mostrar."""
        imagen = pilas.mundo.motor.obtener_texto(texto, self.__magnitud, self.__vertical, self.__fuente, color=self.__color, ancho=self._ancho_del_texto)

        if not self._ancho_del_texto: