src/util/Insets.js
function (top, left, bottom, right) {

            if (arguments.length !== 4) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "Insets", "constructor", "invalidArgumentCount"));
            }

            // These are all documented with their property accessors below.
            this._top = top;
            this._left = left;
            this._bottom = bottom;
            this._right = right;
        }
function (top, left, bottom, right) {

            if (arguments.length !== 4) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "Insets", "constructor", "invalidArgumentCount"));
            }

            // These are all documented with their property accessors below.
            this._top = top;
            this._left = left;
            this._bottom = bottom;
            this._right = right;
        }
function ( top , left , bottom , right ) { if ( arguments . length !== 4 ) { throw new ArgumentError ( Logger . logMessage ( Logger . LEVEL_SEVERE , "Insets" , "constructor" , "invalidArgumentCount" ) ) ; } // These are all documented with their property accessors below. this . _top = top ; this . _left = left ; this . _bottom = bottom ; this . _right = right ; }
Constructs an Insets object that is a representation of the borders of a container.
It specifies the space that a container must leave at each of its edges.
@alias Insets
@param {Number} top The inset from the top.
@param {Number} left The inset from the left.
@param {Number} bottom The inset from the bottom.
@param {Number} right The inset from the right.
@constructor
Constructs an Insets object that is a representation of the borders of a container . It specifies the space that a container must leave at each of its edges .