Constructors
Properties
Methods
setType
- setType(type): Filter
Parameters
- type:
| "daither565"
| "normalize"
| "contrast"
| "brightness"
| "sepia"
| "invert"
| "gaussian"
| "blur"
| "grayscale"
toJSON
- toJSON(): {
option: number;
structureType: string;
type: string;
toJSON(): LazyCanvasFilter;
} Returns {
option: number;
structureType: string;
type: string;
toJSON(): LazyCanvasFilter;
}
option: number
structureType: string
type: string
toJSON:function
Example