fun parse(s: String): AspectRatio
Parse an AspectRatio from a String formatted like "4:3".
s - The string representation of the aspect ratio
s
IllegalArgumentException - when the format is incorrect.
IllegalArgumentException
Return The aspect ratio