com.groupdocs.watermark.watermarks

Class ImageWatermark

    • Constructor Detail

      • ImageWatermark

        public ImageWatermark(String filePath)

        Initializes a new instance of the ImageWatermark class.

        Parameters:
        filePath - Path to the image that will be used as watermark.
      • ImageWatermark

        public ImageWatermark(InputStream stream)

        Initializes a new instance of the ImageWatermark class.

        Parameters:
        stream - Stream containing the image that will be used as watermark.
    • Method Detail

      • close

        public final void close()

        Disposes the current instance.

        Specified by:
        close in interface Closeable
        Specified by:
        close in interface AutoCloseable