Threshold
Source: filter.js:191
Threshold filter tool.
Constructor
new Threshold(app: App): ThresholdParameters
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.