<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def center_origin(self):
 """Sets the origin to the center of the image."""

        self.set_origin(Vector2(self.image.get_width() / 2.0, self.image.get_height() / 2.0))