public class ZDrawTextItem
extends com.alibaba.simpleimage.render.DrawTextItem
| Modifier and Type | Field and Description |
|---|---|
protected float |
opicty |
protected Color |
outlineColor |
protected int |
outlineSize |
protected boolean |
underline |
protected float |
x |
protected float |
y |
| Constructor and Description |
|---|
ZDrawTextItem(String text,
Color fontColor,
Color fontShadowColor,
Color outlineColor,
int outlineSize,
Font font,
float x,
float y,
boolean underline) |
ZDrawTextItem(String text,
Color fontColor,
Color fontShadowColor,
Font font,
float opicty,
float x,
float y) |
ZDrawTextItem(String text,
Color fontColor,
Color outlineColor,
int outlineSize,
Font font,
float opicty,
float x,
float y,
boolean underline) |
ZDrawTextItem(String text,
Color fontColor,
Font font,
float opicty,
float x,
float y) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawText(Graphics2D graphics,
int width,
int height) |
protected float x
protected float y
protected Color outlineColor
protected int outlineSize
protected float opicty
protected boolean underline
public ZDrawTextItem(String text, Color fontColor, Font font, float opicty, float x, float y)
public ZDrawTextItem(String text, Color fontColor, Color fontShadowColor, Font font, float opicty, float x, float y)
public ZDrawTextItem(String text, Color fontColor, Color outlineColor, int outlineSize, Font font, float opicty, float x, float y, boolean underline)
public void drawText(Graphics2D graphics, int width, int height)
drawText in class com.alibaba.simpleimage.render.DrawTextItemCopyright © 2016. All Rights Reserved.