Skip to content

Commit 083f4ea

Browse files
committed
修改 Java Doc 的编译错误
1 parent 063cf82 commit 083f4ea

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

  • image-processing/src/main/java/com/baeldung/imageprocessing/addingtext

image-processing/src/main/java/com/baeldung/imageprocessing/addingtext/AddText.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ private static BufferedImage signImageGraphicsWithIterator(String text, String p
8282
/**
8383
* Draw a String centered in the middle of a Rectangle.
8484
*
85-
* @param g The Graphics instance.
8685
* @param text The String to draw.
87-
* @param rect The Rectangle to center the text in.
86+
* @param path
87+
* @return
8888
* @throws IOException
8989
*/
9090
public static BufferedImage signImageCenter(String text, String path) throws IOException {
@@ -110,9 +110,9 @@ public static BufferedImage signImageCenter(String text, String path) throws IOE
110110
/**
111111
* Draw a String centered in the middle of a Rectangle.
112112
*
113-
* @param g The Graphics instance.
114113
* @param text The String to draw.
115-
* @param rect The Rectangle to center the text in.
114+
* @param path
115+
* @return
116116
* @throws IOException
117117
*/
118118
public static BufferedImage signImageBottomRight(String text, String path) throws IOException {
@@ -139,9 +139,9 @@ public static BufferedImage signImageBottomRight(String text, String path) throw
139139
/**
140140
* Draw a String centered in the middle of a Rectangle.
141141
*
142-
* @param g The Graphics instance.
143142
* @param text The String to draw.
144-
* @param rect The Rectangle to center the text in.
143+
* @param path
144+
* @return
145145
* @throws IOException
146146
*/
147147
public static BufferedImage signImageTopLeft(String text, String path) throws IOException {
@@ -168,9 +168,9 @@ public static BufferedImage signImageTopLeft(String text, String path) throws IO
168168
/**
169169
* Draw a String centered in the middle of a Rectangle.
170170
*
171-
* @param g The Graphics instance.
172171
* @param text The String to draw.
173-
* @param rect The Rectangle to center the text in.
172+
* @param path
173+
* @return
174174
* @throws IOException
175175
*/
176176
public static BufferedImage signImageAdaptBasedOnImage(String text, String path) throws IOException {

0 commit comments

Comments
 (0)