protected function lib_alpha($value)
    {
        if (!is_null($color = $this->coerceColor($value))) {
            return isset($color[4]) ? $color[4] : 1;
        }
    }
protected function lib_alpha($value)
    {
        if (!is_null($color = $this->coerceColor($value))) {
            return isset($color[4]) ? $color[4] : 1;
        }
    }
protected function lib_alpha ( $ value ) { if ( ! is_null ( $ color = $ this -> coerceColor ( $ value ) ) ) { return isset ( $ color [ 4 ] ) ? $ color [ 4 ] : 1 ; } }
defaults to 1 for non-colors or colors without an alpha
defaults to 1 for non - colors or colors without an alpha