UNPKG

devexpress-richedit

Version:

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

21 lines (20 loc) 608 B
import { DrawingFillType, DrawingUnderlineFillType } from './enums'; export class DrawingFill { static Automatic = new DrawingFill(DrawingFillType.Automatic); static None = new DrawingFill(DrawingFillType.None); static Group = new DrawingFill(DrawingFillType.Group); fillType; constructor(fillType) { this.fillType = fillType; } get type() { return DrawingUnderlineFillType.Fill; } clone() { return new DrawingFill(this.fillType); } equals(obj) { return obj && this.fillType == obj.fillType; } }