devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
16 lines (15 loc) • 681 B
JavaScript
import { PresetBevelType } from './enums';
export class ShapeBevel3DProperties {
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;
}
}
ShapeBevel3DProperties.defaultCoordinate = 76200;
ShapeBevel3DProperties.defaultPresetType = PresetBevelType.Circle;