UNPKG

devexpress-richedit

Version:

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

16 lines (15 loc) 675 B
import { PresetBevelType } from './enums'; export class ShapeBevel3DProperties { static { this.defaultCoordinate = 76200; } static { this.defaultPresetType = PresetBevelType.Circle; } 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; } }