Name | Type | Attributes | Description |
---|---|---|---|
options |
ConvolutionFilterOptions |
<optional> |
Options for the ConvolutionFilter constructor. |
Extends
- Filter
Members
DEFAULT_OPTIONS ConvolutionFilterOptions staticreadonly
Default values for options.
Height of the object you are transforming
- Default Value:
- 200
An array of values used for matrix transformation, specified as a 9 point Array
- Default Value:
- [0,0,0,0,0,0,0,0,0]
Example
const matrix = new Float32Array(9); // 9 elements of value 0
const matrix = [0,0.5,0,0.5,1,0.5,0,0.5,0];
Width of the object you are transforming
- Default Value:
- 200