public function getOptions()
    {
        $options = array();

        $options['backgroundColor'] = $this->getBackgroundColor()->__toString();
        $options['padding'] = $this->getPadding();
        $options['colorSaturation'] = $this->getColorSaturation();
        $options['grayscaleSaturation'] = $this->getGrayscaleSaturation();
        $options['colorLightness'] = $this->getColorLightness();
        $options['grayscaleLightness'] = $this->getGrayscaleLightness();

        if ($this->hues !== null) {
            $options['hues'] = $this->getHues();
        }

        return $options;
    }
public function getOptions()
    {
        $options = array();

        $options['backgroundColor'] = $this->getBackgroundColor()->__toString();
        $options['padding'] = $this->getPadding();
        $options['colorSaturation'] = $this->getColorSaturation();
        $options['grayscaleSaturation'] = $this->getGrayscaleSaturation();
        $options['colorLightness'] = $this->getColorLightness();
        $options['grayscaleLightness'] = $this->getGrayscaleLightness();

        if ($this->hues !== null) {
            $options['hues'] = $this->getHues();
        }

        return $options;
    }
public function getOptions ( ) { $ options = array ( ) ; $ options [ 'backgroundColor' ] = $ this -> getBackgroundColor ( ) -> __toString ( ) ; $ options [ 'padding' ] = $ this -> getPadding ( ) ; $ options [ 'colorSaturation' ] = $ this -> getColorSaturation ( ) ; $ options [ 'grayscaleSaturation' ] = $ this -> getGrayscaleSaturation ( ) ; $ options [ 'colorLightness' ] = $ this -> getColorLightness ( ) ; $ options [ 'grayscaleLightness' ] = $ this -> getGrayscaleLightness ( ) ; if ( $ this -> hues !== null ) { $ options [ 'hues' ] = $ this -> getHues ( ) ; } return $ options ; }
Gets an associative array of all options of this style.

@return array
Gets an associative array of all options of this style .