new Sharpen(app)
- Source:
Sharpen filter tool.
Parameters:
Name | Type | Description |
---|---|---|
app |
dwv.App | The associated application. |
Methods
activate(_bool)
- Source:
Activate the filter.
Parameters:
Name | Type | Description |
---|---|---|
_bool |
boolean | Flag to activate or not. |
addEventListener(type, callback)
- Source:
Add an event listener to this class.
Parameters:
Name | Type | Description |
---|---|---|
type |
string | The event type. |
callback |
object | The method associated with the provided event type, will be called with the fired event. |
init()
- Source:
Initialise the filter. Called once the image is loaded.
removeEventListener(type, callback)
- Source:
Remove an event listener from this class.
Parameters:
Name | Type | Description |
---|---|---|
type |
string | The event type. |
callback |
object | The method associated with the provided event type. |
run(_args)
- Source:
Run the filter.
Parameters:
Name | Type | Description |
---|---|---|
_args |
* | The filter arguments. |