UNPKG

devexpress-richedit

Version:

DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.

24 lines (23 loc) 629 B
import { DrawingEffectCollection } from './drawing-effect-collection'; export class ContainerEffect { name; type; hasEffectsList; effects; constructor() { this.name = ""; this.hasEffectsList = true; this.effects = new DrawingEffectCollection(); } get isEmpty() { return this.effects.list.length == 0; } clone() { const obj = new ContainerEffect(); obj.name = this.name; obj.type = this.type; obj.hasEffectsList = this.hasEffectsList; obj.effects = this.effects.clone(); return obj; } }