public class GraphicStrings extends AbstractTextBlock implements IEntityImage
CORNER, MARGIN, MARGIN_LINE| Constructor and Description |
|---|
GraphicStrings(java.util.List<java.lang.String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing) |
GraphicStrings(java.util.List<java.lang.String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing,
java.awt.image.BufferedImage image,
GraphicPosition position) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Dimension2D |
calculateDimension(StringBounder stringBounder) |
static GraphicStrings |
createDefault(java.util.List<java.lang.String> strings,
boolean useRed) |
void |
drawU(UGraphic ug) |
HtmlColor |
getBackcolor() |
ShapeType |
getShapeType() |
int |
getShield() |
boolean |
isHidden() |
void |
setMaxLine(int maxLine) |
void |
setMinWidth(double minWidth) |
getInnerPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInnerPositionpublic GraphicStrings(java.util.List<java.lang.String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing)
public GraphicStrings(java.util.List<java.lang.String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing,
java.awt.image.BufferedImage image,
GraphicPosition position)
public static GraphicStrings createDefault(java.util.List<java.lang.String> strings, boolean useRed)
public void setMinWidth(double minWidth)
public java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension in interface TextBlockpublic ShapeType getShapeType()
getShapeType in interface IEntityImagepublic HtmlColor getBackcolor()
getBackcolor in interface TextBlockBackcoloredpublic int getShield()
getShield in interface IEntityImagepublic final void setMaxLine(int maxLine)