Companion

object Companion

Functions

Link copied to clipboard
fun of(width: Number = DEFAULT_WINDOW_WIDTH, height: Number = DEFAULT_WINDOW_HEIGHT): AspectRatio

Creates an aspect ratio out of width and height. May be for example 1920 : 1080 as well as 16 : 9.