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

main.cesium.TileDiscardPolicy.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package cesium

/**
 * A policy for discarding tile images according to some criteria.  This type describes an
 * interface and is not intended to be instantiated directly.
 * @see Online Documentation
 */
@JsName("\$cesium__TileDiscardPolicy")
abstract external class TileDiscardPolicy {
    /**
     * Determines if the discard policy is ready to process images.
     * @return True if the discard policy is ready to process images; otherwise, false.
     * @see Online Documentation
     */
    abstract fun isReady(): Boolean

    /**
     * Given a tile image, decide whether to discard that image.
     * @param [image] An image to test.
     * @return True if the image should be discarded; otherwise, false.
     * @see Online Documentation
     */
    abstract fun shouldDiscardImage(image: org.w3c.dom.HTMLImageElement): Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy