matrixX (ConvolutionFilter.matrixX property)
public matrixX : Number
The x dimension of the matrix (the number of columns in the matrix). The default value is 0.
Availability: ActionScript 1.0; Flash Player 8
Example
The following example displays the
import flash.filters.ConvolutionFilter;
var filter:ConvolutionFilter = new ConvolutionFilter(2, 3, [1, 0, 0, 1, 0,
0], 6);
trace(filter.matrixX); // 2
matrixY (ConvolutionFilter.matrixY property)
public matrixY : Number
The y dimension of the matrix (the number of rows in the matrix). The default value is 0.
Availability: ActionScript 1.0; Flash Player 8
Example
The following example displays the
import flash.filters.ConvolutionFilter;
var filter:ConvolutionFilter = new ConvolutionFilter(2, 3, [1, 0, 0, 1, 0,
0], 6);
trace(filter.matrixY); // 3
preserveAlpha (ConvolutionFilter.preserveAlpha
property)
public preserveAlpha : Boolean
Indicates what the convolution applies to. A value of
applies to all channels, including the alpha channel. A value of
convolution applies only to the color channels. The default value is
Availability: ActionScript 1.0; Flash Player 8
468
ActionScript classes
property of
matrixX
property of
matrixY
false
.
filter
.
filter
indicates that the convolution
indicates that the
true
.
true
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?