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

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

// Automatically generated - do not modify!

package cesium

/**
 * Extract a pixel array from a loaded image.  Draws the image
 * into a canvas so it can read the pixels back.
 * @param [image] The image to extract pixels from.
 * @param [width] The width of the image. If not defined, then image.width is assigned.
 * @param [height] The height of the image. If not defined, then image.height is assigned.
 * @return The pixels of the image.
 * @see Online Documentation
 */
@JsName("\$cesium__getImagePixels")
external fun getImagePixels(
    image: org.w3c.dom.HTMLImageElement,
    width: Double,
    height: Double,
): org.w3c.dom.ImageData




© 2015 - 2024 Weber Informatics LLC | Privacy Policy