fitsInside method
@param {!goog.math.Size} target The target size. @return {bool} True if this Size is the same size or smaller than the target size in both dimensions.
Implementation
bool fitsInside(Size target)
{
return width <= target.width && height <= target.height;
}