All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.earth.worldwind.render.image.ImageSource.kt Maven / Gradle / Ivy

Go to download

The WorldWind Kotlin SDK (WWK) includes the library, examples and tutorials for building multiplatform 3D virtual globe applications for Android, Web and Java.

The newest version!
package earth.worldwind.render.image

import dev.icerock.moko.resources.ImageResource
import earth.worldwind.util.AbstractSource

expect class ImageSource: AbstractSource {
    companion object {
        fun fromResource(imageResource: ImageResource): ImageSource
        fun fromUrlString(urlString: String): ImageSource
        fun fromLineStipple(factor: Int, pattern: Short): ImageSource
        fun fromUnrecognized(source: Any): ImageSource
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy