芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/vendor/bacon/bacon-qr-code/src/Renderer/Color/Gray.php
100) { throw new Exception\InvalidArgumentException('Gray must be between 0 and 100'); } $this->gray = (int) $gray; } public function getGray() : int { return $this->gray; } public function toRgb() : Rgb { return new Rgb((int) ($this->gray * 2.55), (int) ($this->gray * 2.55), (int) ($this->gray * 2.55)); } public function toCmyk() : Cmyk { return new Cmyk(0, 0, 0, 100 - $this->gray); } public function toGray() : Gray { return $this; } }