image-in-browser
Version:
Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)
43 lines (42 loc) • 1.07 kB
TypeScript
/** @format */
/**
* Interface representing the options for a PSD effect.
*/
export interface PsdEffectOptions {
/**
* The version number of the PSD effect.
*/
version: number;
/**
* Indicates whether the PSD effect is enabled.
*/
enabled: boolean;
}
/**
* Class representing a PSD effect.
*/
export declare class PsdEffect {
/**
* The version number of the PSD effect.
*/
private _version;
/**
* Gets the version number of the PSD effect.
*/
get version(): number;
/**
* Indicates whether the PSD effect is enabled.
*/
private _enabled;
/**
* Gets the enabled status of the PSD effect.
*/
get enabled(): boolean;
/**
* Initializes a new instance of the PsdEffect class.
* @param {PsdEffectOptions} opt - The options for the PSD effect.
* @param {number} opt.version - The version number of the PSD effect.
* @param {boolean} opt.enabled - Indicates whether the PSD effect is enabled.
*/
constructor(opt: PsdEffectOptions);
}