src/layout-rect.js
/**
 * Expand the layout rect using multiples of width and height.
 * @param {!LayoutRectDef} rect Original rect.
 * @param {number} dw Expansion in width, specified as a multiple of width.
 * @param {number} dh Expansion in height, specified as a multiple of height.
 * @return {!LayoutRectDef}
 */
Expand the layout rect using multiples of width and height.
@param {!LayoutRectDef} rect Original rect.
@param {number} dw Expansion in width, specified as a multiple of width.
@param {number} dh Expansion in height, specified as a multiple of height.
Expand the layout rect using multiples of width and height . @param { !LayoutRectDef } rect Original rect . @param { number } dw Expansion in width specified as a multiple of width . @param { number } dh Expansion in height specified as a multiple of height .
function expandLayoutRect(rect, dw, dh) {
  return layoutRectLtwh(rect.left - rect.width * dw,
      rect.top - rect.height * dh,
      rect.width * (1 + dw * 2),
      rect.height * (1 + dh * 2));
}
function expandLayoutRect ( rect , dw , dh ) { return layoutRectLtwh ( rect . left - rect . width * dw , rect . top - rect . height * dh , rect . width * ( 1 + dw * 2 ) , rect . height * ( 1 + dh * 2 ) ) ; }
Expand the layout rect using multiples of width and height.
Expand the layout rect using multiples of width and height .