Class ContentImageImpl

    • Constructor Detail

      • ContentImageImpl

        public ContentImageImpl​(org.fit.cssbox.layout.ReplacedImage image)
    • Method Detail

      • getImage

        public org.fit.cssbox.layout.ReplacedImage getImage()
      • setImage

        public void setImage​(org.fit.cssbox.layout.ReplacedImage image)
      • getUrl

        public URL getUrl()
        Description copied from interface: ContentImage
        Obtains the image URL.
        Specified by:
        getUrl in interface ContentImage
        Returns:
        The URL of the image or null when the image has no URL.
      • getPngData

        public byte[] getPngData()
        Description copied from interface: ContentImage
        Gets the PNG data of the image if available.
        Specified by:
        getPngData in interface ContentImage
        Returns:
        The PNG data or null when the data is not available.