psyche-editor-render
Version:
编辑器渲染器
28 lines (27 loc) • 573 B
TypeScript
import Handler from './Handler';
interface ICreateOption {
type: string;
figure?: string;
url?: string;
}
/**
* 设置图片蒙版
*/
declare class ImageClipPathHandler {
/** @ignore */
handler: Handler;
/** @ignore */
constructor(handler: Handler);
create({ type, figure, url }: ICreateOption): void;
/**
* 删除蒙版
*/
delete(): void;
/**
* 更新蒙版的属性
* @param type 属性
* @param value 值
*/
update(type: string, value: number): void;
}
export default ImageClipPathHandler;