aspectRatio method

double aspectRatio()

@return {number} The ratio of the size's width to its height.

Implementation

double aspectRatio()
{
  return width / height;
}