UNPKG

illustrator.js

Version:

JavaScript image processing library

19 lines (18 loc) 647 B
import { ToolBox } from "../base/ToolBox"; export declare type FilterArgs = { name: string; value: string | number; }; export declare class FilterTool extends ToolBox { applyFilter(filters: FilterArgs[]): this; gaussianBlur(amount?: number): this; brightness(amount: number): this; contrast(amount: number): this; dropShadow(x: string | number, y: string | number, radius: number, color: string): this; grayscale(amount?: number): this; hueRotate(angle: number): this; invert(amount?: number): this; opacity(amount: number): this; saturate(amount: number): this; sepia(amount?: number): this; }