DrawImageOptions: { imageData: ImageData; x?: PixelValue; y?: PixelValue; zIndex?: number }

Type declaration

  • imageData: ImageData

    A standard JavaScript imageData object, containing width, height, and pixel bytes. The image width and height should be in device pixels (scaled by window.devicePixelRatio) to accommodate HiDPI devices.

  • Optional x?: PixelValue

    The horizontal position within the App’s window specified as a CSS value. (Default: “0px”)

  • Optional y?: PixelValue

    The vertical position within the App’s window specified as a CSS value. (Default: “0px”)

  • Optional zIndex?: number

    The relative z-ordering of the item (Default: 1).

Generated using TypeDoc