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