UNPKG

scichart

Version:

Fast WebGL JavaScript Charting Library and Framework

30 lines (29 loc) 724 B
/** * Defines a Size type with Width, Height */ export declare class Size { /** * The static Empty size returns a Size with Width=0, Height=0 */ static readonly EMPTY: Size; /** * Gets or sets the Hidth */ readonly width: number; /** * Gets or sets the Height */ readonly height: number; /** * Creates an instance of the Size with specified width and height * @param width * @param height */ constructor(width: number, height: number); /** * Returns true if a size numerically equals another size * @param size1 * @param size2 */ static isEqual(size1: Size, size2: Size): boolean; }