public class PicTextConfig_ extends PicTextConfig
align, color, font, line, lineBreakChar| 构造器和说明 |
|---|
PicTextConfig_(int x,
int y,
int width)
Instantiates a new Pic text config.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addText(BufferedImage bi,
String text)
Add text.
|
int |
getWidth()
Gets width.
|
int |
getX()
Gets x.
|
int |
getY()
Gets y.
|
void |
setWidth(int width)
Sets width.
|
void |
setX(int x)
Sets x.
|
void |
setY(int y)
Sets y.
|
getAlign, getColor, getFont, getLine, getLineBreakChar, setAlign, setColor, setFont, setLine, setLineBreakCharpublic PicTextConfig_(int x,
int y,
int width)
x - the xy - the ywidth - the widthpublic int getX()
public void setX(int x)
x - the xpublic int getY()
public void setY(int y)
y - the ypublic int getWidth()
public void setWidth(int width)
width - the widthpublic void addText(BufferedImage bi, String text)
PicTextConfigbi - the bitext - the textCopyright © 2020. All rights reserved.