Apache Zeta Components Manual :: File Source for filter.php
Source for file filter.php
Documentation is available at filter.php
* File containing the ezcImageFilter struct.
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* @package ImageConversion
* @version //autogentag//
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* Struct to store information about a filter operation.
* The struct contains the {@link self::name name} of the filter to use and
* which {@link self::options options} to use for it.
* Possible filter names are determined by the methods defined in the following
* <li>{@link ezcImageGeometryFilters}</li>
* <li>{@link ezcImageColorspaceFilters}</li>
* <li>{@link ezcImageEffectFilters}</li>
* <li>{@link ezcImageWatermarkFilters}</li>
* <li>{@link ezcImageThumbnailFilters}</li>
* The options for each filter are represented by the parameters received by
* their corresponding method. You can determine if a certain {@link }
* ezcImageHandler} implementation supports a filter by checking the interfaces
* this handler implements.
* @see ezcImageTransformation
* @package ImageConversion
* @version //autogentag//
* Name of filter operation to use.
* @see ezcImageEffectFilters
* @see ezcImageGeometryFilters
* @see ezcImageColorspaceFilters
* Associative array of options for the filter operation.
* The array key is the option name and the array entry is the value for
* Consult each filter operation to see which names and values to use.
* @see ezcImageEffectFilters
* @see ezcImageGeometryFilters
* @see ezcImageColorspaceFilters
* @var array(string=>mixed)
* Initialize with the filter name and options.
* @see ezcImageFilter::$name
* @see ezcImageFilter::$options
* @param array $name Name of filter operation.
* @param array $options Associative array of options for filter operation.
public function __construct( $name, array $options =
array() )