An object which holds the border and padding data for an element.

interface IBoxSizing {
    borderBottom: number;
    borderLeft: number;
    borderRight: number;
    borderTop: number;
    horizontalSum: number;
    paddingBottom: number;
    paddingLeft: number;
    paddingRight: number;
    paddingTop: number;
    verticalSum: number;
}

Properties

borderBottom: number

The bottom border width, in pixels.

borderLeft: number

The left border width, in pixels.

borderRight: number

The right border width, in pixels.

borderTop: number

The top border width, in pixels.

horizontalSum: number

The sum of horizontal border and padding.

paddingBottom: number

The bottom padding width, in pixels.

paddingLeft: number

The left padding width, in pixels.

paddingRight: number

The right padding width, in pixels.

paddingTop: number

The top padding width, in pixels.

verticalSum: number

The sum of vertical border and padding.