public class GraphicStrings extends Object implements IEntityImage
CORNER, MARGIN, MARGIN_LINE
Constructor and Description |
---|
GraphicStrings(List<String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing) |
GraphicStrings(List<String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing,
BufferedImage image,
GraphicPosition position) |
Modifier and Type | Method and Description |
---|---|
Dimension2D |
calculateDimension(StringBounder stringBounder) |
static GraphicStrings |
createDefault(List<String> strings,
boolean useRed) |
void |
drawU(UGraphic ug) |
HtmlColor |
getBackcolor() |
ShapeType |
getShapeType() |
int |
getShield() |
boolean |
isHidden() |
void |
setMaxLine(int maxLine) |
void |
setMinWidth(double minWidth) |
public GraphicStrings(List<String> strings, UFont font, HtmlColor green, HtmlColor background, UAntiAliasing antiAliasing)
public GraphicStrings(List<String> strings, UFont font, HtmlColor green, HtmlColor background, UAntiAliasing antiAliasing, BufferedImage image, GraphicPosition position)
public static GraphicStrings createDefault(List<String> strings, boolean useRed)
public void setMinWidth(double minWidth)
public Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock
public ShapeType getShapeType()
getShapeType
in interface IEntityImage
public HtmlColor getBackcolor()
getBackcolor
in interface TextBlockBackcolored
public int getShield()
getShield
in interface IEntityImage
public final void setMaxLine(int maxLine)
Copyright © 2014. All Rights Reserved.