Text color selection for watermark (#2415)

* added custom color selection for Watermark

* using the same translation as AddStampRequest.customColor for the new watermark.customColor

* fixed the space issue between words
This commit is contained in:
Sai Kumar
2024-12-07 19:49:50 +05:30
committed by GitHub
parent cb6e1cd94e
commit b47df3d252
40 changed files with 99 additions and 23 deletions

View File

@@ -45,6 +45,9 @@ public class AddWatermarkRequest extends PDFFile {
@Schema(description = "The height spacer between watermark elements", example = "50")
private int heightSpacer;
@Schema(description = "The color for watermark", defaultValue = "#d3d3d3")
private String customColor = "#d3d3d3";
@Schema(description = "Convert the redacted PDF to an image", defaultValue = "false")
private boolean convertPDFToImage;
}