468
ActionScript classes
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
matrixX
property of
filter
.
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
matrixY
property of
filter
.
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
false
indicates that the convolution
applies to all channels, including the alpha channel. A value of
true
indicates that the
convolution applies only to the color channels. The default value is
true
.
Availability:
ActionScript 1.0; Flash Player 8
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...