resolution

fun resolution(width: Int, height: Int, folder: String = "x"): ResolutionFileResolver.Resolution

Factory method for ResolutionFileResolver.Resolution that allows to used named parameters.

Return

a new Resolution instance with the given size.

Parameters

width

portrait width of the resolution.

height

portrait height of the resolution.

folder

name of the folder with assets for the given resolution. Defaults to "widthxheight".

See also

ResolutionFileResolver.Resolution
ResolutionFileResolver