getWidth method

double getWidth()

@return {double} width The width of this Box.

Implementation

double getWidth()
{
  // Different from Closure Library box as we add the sides together to get width
  return right + left;
}