Class WatermarkPDFServiceImpl

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      WatermarkPDFService.WatermarkPDFBuilder method(WatermarkingMethod watermarkingMethod) Defines the method for adding a watermark (default is DRAW)
      WatermarkPDFService.WatermarkPDFBuilder dpi(int dpi) Sets the dpi of the watermark
      WatermarkPDFService.WatermarkPDFBuilder documentFilter(Predicate<PDDocument> predicate) Adds a condition to filter the document when applying the watermark Only documents that meet the condition will have the watermark applied
      WatermarkPDFService.WatermarkPDFBuilder pageFilter(Predicate<Integer> predicate) Adds a condition to filter the page when applying the watermark Only pages that meet the condition will have the watermark applied
      Array<byte> apply()
      • Methods inherited from class com.markit.api.AbstractWatermarkService

        addTrademark, adjust, and, apply, color, opacity, position, rotation, size, watermark, when, withImage, withText
      • Methods inherited from class com.markit.api.WatermarkPDFService

        withImage
      • Methods inherited from class com.markit.api.WatermarkPDFService.WatermarkPDFBuilder

        and, opacity, position, rotation, size, when
      • Methods inherited from class com.markit.api.WatermarkPDFService.TextBasedWatermarkBuilder

        watermark
      • Methods inherited from class com.markit.api.WatermarkPDFService.WatermarkPositionStepPDFBuilder

        adjust
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait