src/Entity/Icon/Color.php
public function setRed(float $red, float $scale = 1.)
    {
        $this->red = $this->setComponent($red, $scale);
        return $this;
    }
public function setRed(float $red, float $scale = 1.)
    {
        $this->red = $this->setComponent($red, $scale);
        return $this;
    }
public function setRed ( float $ red , float $ scale = 1. ) { $ this -> red = $ this -> setComponent ( $ red , $ scale ) ; return $ this ; }
Sets the red component of the color.
@param float $red
@param float $scale
@return $this
Sets the red component of the color .