public class GraphicStrings extends AbstractTextBlock implements IEntityImage
CORNER, MARGIN, MARGIN_LINE
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Dimension2D |
calculateDimension(StringBounder stringBounder) |
static TextBlockBackcolored |
createBlackOnWhite(java.util.List<java.lang.String> strings) |
static TextBlockBackcolored |
createBlackOnWhite(java.util.List<java.lang.String> strings,
java.awt.image.BufferedImage image,
GraphicPosition position) |
static TextBlockBackcolored |
createBlackOnWhiteMonospaced(java.util.List<java.lang.String> strings) |
static IEntityImage |
createForError(java.util.List<java.lang.String> strings,
boolean useRed) |
static TextBlockBackcolored |
createGreenOnBlackMonospaced(java.util.List<java.lang.String> strings) |
void |
drawU(UGraphic ug) |
HtmlColor |
getBackcolor() |
double |
getOverscanX(StringBounder stringBounder) |
ShapeType |
getShapeType() |
Margins |
getShield(StringBounder stringBounder) |
boolean |
isHidden() |
getInnerPosition, getMinMax
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInnerPosition, getMinMax
public static IEntityImage createForError(java.util.List<java.lang.String> strings, boolean useRed)
public static TextBlockBackcolored createGreenOnBlackMonospaced(java.util.List<java.lang.String> strings)
public static TextBlockBackcolored createBlackOnWhite(java.util.List<java.lang.String> strings)
public static TextBlockBackcolored createBlackOnWhiteMonospaced(java.util.List<java.lang.String> strings)
public static TextBlockBackcolored createBlackOnWhite(java.util.List<java.lang.String> strings, java.awt.image.BufferedImage image, GraphicPosition position)
public java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock
public ShapeType getShapeType()
getShapeType
in interface IEntityImage
public HtmlColor getBackcolor()
getBackcolor
in interface TextBlockBackcolored
public Margins getShield(StringBounder stringBounder)
getShield
in interface IEntityImage
public double getOverscanX(StringBounder stringBounder)
getOverscanX
in interface IEntityImage