Skip to content

Commit fd93e5b

Browse files
committed
Release 24.7.1 is published
1 parent 29b10a7 commit fd93e5b

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

lib/Generation.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7157,10 +7157,11 @@ class HslaColor
71577157
* @param $a Alpha (opacity) [0.0f, 1.0f]
71587158
*/
71597159
public function __construct(int $h, int $s, int $l, float $a) {
7160-
$this->checkHue($h);
7161-
$this->checkSatLight($s);
7162-
$this->checkSatLight($l);
7163-
$this->checkAlpha($a);
7160+
// $this->checkHue($h);
7161+
self::checkHue($h);
7162+
self::checkSatLight($s);
7163+
self::checkSatLight($l);
7164+
self::checkAlpha($a);
71647165

71657166
$this->H = $h;
71667167
$this->S = $s;
@@ -7222,7 +7223,7 @@ public static function convertHslaToRgba(HslaColor $hslaColor) : string
72227223
$bI = intval($b * 255 + 0.5);
72237224
$aI = intval($hslaColor->A * 255 + 0.5);
72247225

7225-
return sprintf("#%02X%02X%02X%02X", $aI, $rI, $gI, $bI);
7226+
return sprintf("#%02X%02X%02X%02X", $rI, $gI, $bI, $aI);
72267227
}
72277228

72287229
private static function hueToRgb(float $p, float $q, float $t) : float

lib/aspose-barcode-php-24.7.jar

1.01 KB
Binary file not shown.

0 commit comments

Comments
 (0)