Rechercher une page de manuel
SWF::FilterMatrix.3pm
Langue: en
Version: 2009-11-25 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
SWF::FilterMatrix - SWF FilterMatrix classSYNOPSIS
use SWF::FilterMatrix; $valueref = [ 0.5, 0.4, 0.3, 0, 0, 0.5, 0.4, 0.3, 0, 0, 0.5, 0.4, 0.3, 0, 0, 0, 0, 0, 1, 0 ]; $filtermatrix = new SWF::FilterMatrix( 5, 4, $valueref ); $filter = SWF::Filter::newColorMatrixFilter( $filtermatrix );
DESCRIPTION
SWF::FilterMatrix is a helper class useful for construction of some SWF::Filter objects: ColorMatrix filter and Convolution filter.METHODS
- new SWF::FilterMatrix($cols, $rows, $valueref)
- The only method is a constructor for creation of a FilterMatrix object. The object is controlled by the matrix data dimensions (cols * rows) and the data values: a reference to an array of float values. Note: constructing ColorMatrixFilter needs a 5*4 matrix.
AUTHOR
developers of ming.sourceforge.net
SEE ALSO
SWF, SWF::Filter, SWF::Blur, SWF::ShadowContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre