Name | Type | Default | Description |
---|---|---|---|
matrix_x | number | 0 | optional |
matrix_y | number | 0 | optional |
matrix | array | null | optional |
divisor | number | 1.0 | optional |
bias | number | 0.0 | optional |
preserve_alpha | boolean | true | optional |
clamp | boolean | true | optional |
color | number | 0 | optional |
alpha | number | 0.0 | optional |
Extends
- BitmapFilter
Members
指定されたクラスの空間名を返します。
Returns the space name of the specified class.- Default Value:
- next2d.filters.ConvolutionFilter
アルファ透明度の値です。
The alpha transparency value for the color.- Default Value:
- 4
マトリックス変換の結果に加算するバイアス量です。
The amount of bias to add to the result of the matrix transformation.- Default Value:
- 0
イメージをクランプする必要があるかどうかを示します。
Indicates whether the image should be clamped.- Default Value:
- true
ソースイメージの外にあるピクセルを置換する 16 進数のカラー値です。
The hexadecimal color to substitute for pixels that are off the source image.- Default Value:
- 0
マトリックス変換中に使用する除数です。
The divisor used during matrix transformation.- Default Value:
- 1
マトリックス変換に使用する値の配列です。
An array of values used for matrix transformation.- Default Value:
- null
マトリックスの x 次元 (マトリックスの列数) です。
The x dimension of the matrix (the number of columns in the matrix).- Default Value:
- 0
マトリックスの y 次元(マトリックスの行数)です。
The y dimension of the matrix (the number of rows in the matrix).- Default Value:
- 0
指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.- Default Value:
- next2d.filters.ConvolutionFilter
アルファチャンネルがフィルター効果なしで維持されるかどうか、またはカラーチャンネルだけではなく
アルファチャンネルにも畳み込みフィルターが適用されるかどうかを示します。
Indicates if the alpha channel is preserved without the filter effect or
if the convolution filter is applied to the alpha channel as well as the color channels.- Default Value:
- true
Methods
指定されたクラスのストリングを返します。
Returns the string representation of the specified class.- Default Value:
- [class ConvolutionFilter]
Returns:
Type Description string オブジェクトのコピーを返します。
Returns a copy of this filter object.Returns:
Type Description ConvolutionFilter 指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.- Default Value:
- [object ConvolutionFilter]
Returns:
Type Description string