DWVv0.37.0

Sobel

Source: filter.js:339

Sobel filter tool.


Constructor

new Sobel(app: App): Sobel

Parameters

  • app (App) — The associated application.

Instance Methods

activate(_bool: boolean)

Activate the filter.

Parameters

  • _bool (boolean) — Flag to activate or not.

init()

Initialise the filter. Called once the image is loaded.

run(args: *)

Run the filter.

Parameters

  • args (*) — The filter arguments.