public function __construct($position = 'center', $offsetX = 0, $offsetY = 0) { $this->position = $position; $this->offsetX = $offsetX; $this->offsetY = $offsetY; }