Вход Регистрация
Файл: vendor/intervention/image/src/Colors/Rgb/Channels/Red.php
Строк: 33
<?php

declare(strict_types=1);

namespace 
InterventionImageColorsRgbChannels;

use 
InterventionImageColorsIntegerColorChannel;

class 
Red extends IntegerColorChannel
{
    
/**
     * {@inheritdoc}
     *
     * @see ColorChannelInterface::min()
     */
    
public static function min(): float
    
{
        return 
0;
    }

    
/**
     * {@inheritdoc}
     *
     * @see ColorChannelInterface::max()
     */
    
public static function max(): float
    
{
        return 
255;
    }
}
Онлайн: 4
Реклама