From 083f4ea3c6c8c64a81a2d46d3e6f600b2620349f Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Tue, 30 Apr 2024 17:07:27 -0400 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20Java=20Doc=20=E7=9A=84?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../imageprocessing/addingtext/AddText.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/image-processing/src/main/java/com/baeldung/imageprocessing/addingtext/AddText.java b/image-processing/src/main/java/com/baeldung/imageprocessing/addingtext/AddText.java index 8e881a889f..d7bf260be2 100644 --- a/image-processing/src/main/java/com/baeldung/imageprocessing/addingtext/AddText.java +++ b/image-processing/src/main/java/com/baeldung/imageprocessing/addingtext/AddText.java @@ -82,9 +82,9 @@ public class AddText { /** * Draw a String centered in the middle of a Rectangle. * - * @param g The Graphics instance. * @param text The String to draw. - * @param rect The Rectangle to center the text in. + * @param path + * @return * @throws IOException */ public static BufferedImage signImageCenter(String text, String path) throws IOException { @@ -110,9 +110,9 @@ public class AddText { /** * Draw a String centered in the middle of a Rectangle. * - * @param g The Graphics instance. * @param text The String to draw. - * @param rect The Rectangle to center the text in. + * @param path + * @return * @throws IOException */ public static BufferedImage signImageBottomRight(String text, String path) throws IOException { @@ -139,9 +139,9 @@ public class AddText { /** * Draw a String centered in the middle of a Rectangle. * - * @param g The Graphics instance. * @param text The String to draw. - * @param rect The Rectangle to center the text in. + * @param path + * @return * @throws IOException */ public static BufferedImage signImageTopLeft(String text, String path) throws IOException { @@ -168,9 +168,9 @@ public class AddText { /** * Draw a String centered in the middle of a Rectangle. * - * @param g The Graphics instance. * @param text The String to draw. - * @param rect The Rectangle to center the text in. + * @param path + * @return * @throws IOException */ public static BufferedImage signImageAdaptBasedOnImage(String text, String path) throws IOException {