Add: missing swagger Tag (#2238)

This commit is contained in:
Ludy
2024-11-15 09:25:17 +00:00
committed by GitHub
parent 15848e3de6
commit 82ebd3dba9
3 changed files with 5 additions and 4 deletions
@@ -188,8 +188,7 @@ public class WatermarkController {
float pageWidth = page.getMediaBox().getWidth();
float pageHeight = page.getMediaBox().getHeight();
//Calculating the new width and height depending on the angle.
// Calculating the new width and height depending on the angle.
float radians = (float) Math.toRadians(rotation);
float newWatermarkWidth =
(float)
@@ -200,7 +199,7 @@ public class WatermarkController {
(Math.abs(watermarkWidth * Math.sin(radians))
+ Math.abs(watermarkHeight * Math.cos(radians)));
//Calculating the number of rows and columns.
// Calculating the number of rows and columns.
int watermarkRows = (int) (pageHeight / newWatermarkHeight + 1);
int watermarkCols = (int) (pageWidth / newWatermarkWidth + 1);