UNPKG

devexpress-richedit

Version:

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

19 lines (18 loc) 699 B
import { PresetBevelType } from './enums'; export class ShapeBevel3DProperties { static defaultCoordinate = 76200; static defaultPresetType = PresetBevelType.Circle; presetType; width; height; constructor() { this.presetType = ShapeBevel3DProperties.defaultPresetType; this.width = ShapeBevel3DProperties.defaultCoordinate; this.height = ShapeBevel3DProperties.defaultCoordinate; } get isDefault() { return this.presetType == ShapeBevel3DProperties.defaultPresetType && this.height == ShapeBevel3DProperties.defaultCoordinate && this.width == ShapeBevel3DProperties.defaultCoordinate; } }