Interface CanvasImageData

    interface CanvasImageData {
        createImageData(
            sw: number,
            sh: number,
            settings?: ImageDataSettings,
        ): ImageData;
        createImageData(imagedata: ImageData): ImageData;
        getImageData(
            sx: number,
            sy: number,
            sw: number,
            sh: number,
            settings?: ImageDataSettings,
        ): ImageData;
        putImageData(imagedata: ImageData, dx: number, dy: number): void;
        putImageData(
            imagedata: ImageData,
            dx: number,
            dy: number,
            dirtyX: number,
            dirtyY: number,
            dirtyWidth: number,
            dirtyHeight: number,
        ): void;
    }
    Hierarchy

    Methods

    • Parameters

      Returns void

    • Parameters

      • imagedata: ImageData
      • dx: number
      • dy: number
      • dirtyX: number
      • dirtyY: number
      • dirtyWidth: number
      • dirtyHeight: number

      Returns void