Covered getAspectRatio fn