SimpleSoftwareIO\QrCode\ImageMerge::calculateOverlap PHP Méthode

calculateOverlap() private méthode

Calculates the width of the merge image being placed on the source image.
private calculateOverlap ( float $percentage )
$percentage float
    private function calculateOverlap($percentage)
    {
        $this->postMergeImageHeight = $this->sourceImageHeight * $percentage;
        $this->postMergeImageWidth = $this->sourceImageWidth * $percentage;
    }