Class: BaseFilter

fabric.Image.filters.BaseFilter

new BaseFilter()

Root filter class from which all filter classes inherit from
Source:

Members

type

Filter type
Default Value:
  • BaseFilter
Source:

Methods

initialize(optionsopt)

Constructor
Parameters:
Name Type Attributes Description
options Object <optional>
Options object
Source:

setOptions(optionsopt)

Sets filter's properties from options
Parameters:
Name Type Attributes Description
options Object <optional>
Options object
Source:

toJSON() → {Object}

Returns a JSON representation of an instance
Source:
Returns:
JSON
Type
Object

toObject() → {Object}

Returns object representation of an instance
Source:
Returns:
Object representation of an instance
Type
Object