UNPKG

@eclipse-scout/core

Version:
23 lines 673 B
import { Insets } from '../index'; export declare class Dimension { width: number; height: number; /** * If no parameters are passed, all members are initialized with 0. */ constructor(widthOrDimension?: number | Dimension, height?: number); toString(): string; equals(o: Dimension): boolean; clone(): Dimension; subtract(insets: Insets): Dimension; add(insets: Insets): Dimension; /** * Creates a copy and calls Math.floor() on each property. */ floor(): Dimension; /** * Creates a copy and calls Math.ceil() on each property. */ ceil(): Dimension; } //# sourceMappingURL=Dimension.d.ts.map