Class GifImageData


  • public class GifImageData
    extends java.lang.Object
    • Field Detail

      • logicalHeight

        private float logicalHeight
      • logicalWidth

        private float logicalWidth
      • frames

        private java.util.List<ImageData> frames
      • data

        private byte[] data
      • url

        private java.net.URL url
    • Constructor Detail

      • GifImageData

        protected GifImageData​(java.net.URL url)
      • GifImageData

        protected GifImageData​(byte[] data)
    • Method Detail

      • getLogicalHeight

        public float getLogicalHeight()
      • setLogicalHeight

        public void setLogicalHeight​(float logicalHeight)
      • getLogicalWidth

        public float getLogicalWidth()
      • setLogicalWidth

        public void setLogicalWidth​(float logicalWidth)
      • getFrames

        public java.util.List<ImageData> getFrames()
      • getData

        protected byte[] getData()
      • getUrl

        protected java.net.URL getUrl()
      • addFrame

        protected void addFrame​(ImageData frame)
      • loadData

        void loadData()
               throws java.io.IOException
        Load data by URL. url must be not null. Note, this method doesn't check if data or url is null.
        Throws:
        java.io.IOException