Class Image

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class Image
    extends Area
    Image area for external-graphic. This area holds information for rendering an image. The url of the image is used as a key to reference the image cache.
    See Also:
    Serialized Form
    • Field Detail

      • url

        private java.lang.String url
    • Constructor Detail

      • Image

        public Image​(java.lang.String url)
        Create a new image with the given url.
        Parameters:
        url - the url of the image
    • Method Detail

      • getURL

        public java.lang.String getURL()
        Get the url of this image. This url is used as a key to locate the actual image data.
        Returns:
        the url of this image