import { prefab } from '@diez/engine' ; /**
 * Size data.
 */ export interface Size2DData { /**
     * The width value of the size.
     */ width : number ; /**
     * The height value of the size.
     */ height : number ; } noinheritdoc export class Size2D extends prefab < Size2DData > ( ) { defaults = { width : 0 , height : 0 , } ; /**
     * Creates a two dimensional size.
     */ static make ( width , height ) { return new Size2D ( { width , height } ) ; } toPresentableValue ( ) { return `(${ this . width } x ${ this . height })` ; } }