@syncfusion/ej2-diagrams
Version:
Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts.
35 lines (34 loc) • 616 B
TypeScript
/**
* Size defines and processes the size(width/height) of the objects
*/
export declare class Size {
/**
* Sets the height of an object
*
* @default 0
*/
height: number;
/**
* Sets the width of an object
*
* @default 0
*/
width: number;
constructor(width?: number, height?: number);
/**
* isEmpty method \
*
* @returns { boolean } isEmpty method .\
*
* @private
*/
isEmpty(): boolean;
/**
* clone method \
*
* @returns { Size } clone method .\
*
* @private
*/
clone(): Size;
}