public function setAlpha($alpha)
    {
        $alpha = (float)$alpha;
        if($alpha < 0 || $alpha > 1) {
            throw new \UnexpectedValueException('value must be within [0, 1]');
        }
        $this->_alpha = $alpha;
    }