Interface RgbPixmapImageBuilder

    • Method Detail

      • withImageInputStream

        default RgbPixmapImageBuilder withImageInputStream​(java.io.InputStream aImageStream)
        Sets the input stream for retrieving the image data for the image property.
        Specified by:
        withImageInputStream in interface PixmapImageBuilder<RgbPixel>
        Parameters:
        aImageStream - The image which's InputStream is to be stored by the image InputStream property.
        Returns:
        The builder for applying multiple build operations.
      • withImageFile

        default RgbPixmapImageBuilder withImageFile​(java.io.File aImageFile)
                                             throws java.io.FileNotFoundException
        Sets the File for retrieving the image data for the image property.
        Specified by:
        withImageFile in interface PixmapImageBuilder<RgbPixel>
        Parameters:
        aImageFile - The image file which's InputStream is to be stored by the image InputStream property.
        Returns:
        The builder for applying multiple build operations.
        Throws:
        java.io.FileNotFoundException - in case the file was not found.
      • withImageURL

        default RgbPixmapImageBuilder withImageURL​(java.net.URL aImageUrl)
        Sets the URL for retrieving the image data for the image property.
        Specified by:
        withImageURL in interface PixmapImageBuilder<RgbPixel>
        Parameters:
        aImageUrl - the URL
        Returns:
        The builder for applying multiple build operations.
      • toPixmap

        RgbPixmap toPixmap​(java.net.URL aImageUrl)
        To pixmap.
        Parameters:
        aImageUrl - the image url
        Returns:
        the rgb pixmap
      • toPixmap

        RgbPixmap toPixmap​(java.io.InputStream aImageStream)
        To pixmap.
        Parameters:
        aImageStream - the image stream
        Returns:
        the rgb pixmap
      • toPixmap

        default RgbPixmap toPixmap​(java.io.File aImageFile)
                            throws java.io.FileNotFoundException
        To pixmap.
        Parameters:
        aImageFile - the image file
        Returns:
        the rgb pixmap
        Throws:
        java.io.FileNotFoundException - the file not found exception