Просмотр файла vendor/intervention/image/src/Colors/Rgb/Channels/Alpha.php

Размер файла: 306B
<?php

declare(strict_types=1);

namespace Intervention\Image\Colors\Rgb\Channels;

class Alpha extends Red
{
    /**
     * {@inheritdoc}
     *
     * @see ColorChannelInterface::toString()
     */
    public function toString(): string
    {
        return strval(round($this->normalize(), 6));
    }
}