SimpleSoftwareIO\QrCode\ImageMerge::calculateCenter PHP Method

calculateCenter() private method

Calculates the center of the source Image using the Merge image.
private calculateCenter ( )
    private function calculateCenter()
    {
        $this->centerY = $this->sourceImageHeight / 2 - $this->postMergeImageHeight / 2;
        $this->centerX = $this->sourceImageWidth / 2 - $this->postMergeImageHeight / 2;
    }