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