fromAsset

fun fromAsset(name: String): Image

Create an image object from a file path, relative to the assets directory. Throws an exception if the file cannot be found.

Sources

Link copied to clipboard