getShortest method
@return {number} The shorter of the two dimensions in the size.
Implementation
double getShortest()
{
return Math.min(width, height);
}
@return {number} The shorter of the two dimensions in the size.
double getShortest()
{
return Math.min(width, height);
}