export class Insets { public static readonly EMPTY = new Insets ( 0 ) ; public constructor ( public readonly top , public readonly right = top , public readonly bottom = top , public readonly left = right ) { } public getHorizontal ( ) { return this . left + this . right ; } public getVertical ( ) { return this . top + this . bottom ; } }