src/Image/Imagick/Color.php
public function getInt()
    {
        $r = $this->getRedValue();
        $g = $this->getGreenValue();
        $b = $this->getBlueValue();
        $a = (int) round($this->getAlphaValue() * 255);

        return (int) (($a << 24) + ($r << 16) + ($g << 8) + $b);
    }
public function getInt()
    {
        $r = $this->getRedValue();
        $g = $this->getGreenValue();
        $b = $this->getBlueValue();
        $a = (int) round($this->getAlphaValue() * 255);

        return (int) (($a << 24) + ($r << 16) + ($g << 8) + $b);
    }
public function getInt ( ) { $ r = $ this -> getRedValue ( ) ; $ g = $ this -> getGreenValue ( ) ; $ b = $ this -> getBlueValue ( ) ; $ a = ( int ) round ( $ this -> getAlphaValue ( ) * 255 ) ; return ( int ) ( ( $ a << 24 ) + ( $ r << 16 ) + ( $ g << 8 ) + $ b ) ; }
Calculates integer value of current color instance

@return int
Calculates integer value of current color instance