getAspectRatio

Gets aspect ratio based on fraction