@syncfusion/ej2-documenteditor
Version:
Feature-rich document editor control with built-in support for context menu, options pane and dialogs.
54 lines (53 loc) • 1.4 kB
TypeScript
import { LineStyle } from '../../base/types';
import { WBorders } from './borders';
/**
* @private
*/
export declare class WBorder {
private uniqueBorderFormat;
private static uniqueBorderFormats;
private static uniqueFormatType;
ownerBase: WBorders;
color: string;
lineStyle: LineStyle;
lineWidth: number;
shadow: boolean;
space: number;
hasNoneStyle: boolean;
readonly isBorderDefined: boolean;
constructor(node?: WBorders);
private getPropertyValue;
private setPropertyValue;
private initializeUniqueBorder;
private addUniqueBorderFormat;
private static getPropertyDefaultValue;
getLineWidth(): number;
private getBorderLineWidthArray;
getBorderWeight(): number;
private getBorderNumber;
private getNumberOfLines;
getPrecedence(): number;
hasValues(): boolean;
hasValue(property: string): boolean;
cloneFormat(): WBorder;
/**
* @private
* @returns {void}
*/
clearFormat(): void;
/**
* Disposes the internal objects which are maintained.
*
* @private
* @returns {void}
*/
destroy(): void;
/**
* @private
* @param {WBorder} border - Specifies the border
* @returns {boolean} - Returns true or false
*/
isEqualFormat(border: WBorder): boolean;
copyFormat(border: WBorder): void;
static clear(): void;
}