ConvolveMatrixFilter
Convolve matrix filter - applies a convolution matrix
Constructor
ConvolveMatrixFilter(
kernel_matrix: tuple[float, ...],
order: int | tuple[int, int] = 3,
divisor: Optional[float] = None,
bias: float = 0.0,
target_x: Optional[int] = None,
target_y: Optional[int] = None,
edge_mode: str = 'duplicate',
preserve_alpha: bool = False,
in_: str = 'SourceGraphic'
) -> None
Methods
interpolate
interpolate(other: Filter, t: float)
Interpolate between two ConvolveMatrixFilter instances
to_drawsvg
to_drawsvg()
Convert to drawsvg FilterItem object