Class ImageData


  • @JsType(isNative=true,
            namespace="<global>")
    public class ImageData
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      elemental2.core.Uint8ClampedArray data  
      int height  
      int width  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • data

        public elemental2.core.Uint8ClampedArray data
      • height

        public int height
      • width

        public int width
    • Constructor Detail

      • ImageData

        public ImageData​(elemental2.core.Uint8ClampedArray dataOrWidth,
                         double widthOrHeight,
                         double height)
      • ImageData

        public ImageData​(elemental2.core.Uint8ClampedArray dataOrWidth,
                         double widthOrHeight)
      • ImageData

        public ImageData​(double dataOrWidth,
                         double widthOrHeight,
                         double height)
      • ImageData

        public ImageData​(double dataOrWidth,
                         double widthOrHeight)