commonMain.org.openrndr.ResourceUrl.kt Maven / Gradle / Ivy
package org.openrndr
import kotlin.reflect.KClass
/**
* Resolves resource named [name] relative to [class] as a [String] based URL.
*/
expect fun resourceUrl(name: String, `class`: KClass<*> = Application::class): String
expect fun resourceText(name: String, `class`: KClass<*> = Application::class): String
© 2015 - 2025 Weber Informatics LLC | Privacy Policy