public class GraphicStrings extends AbstractTextBlock implements IEntityImage
CORNER, MARGIN, MARGIN_LINE
Modifier and Type | Method and Description |
---|---|
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) |
HColor |
getBackcolor() |
double |
getOverscanX(StringBounder stringBounder) |
ShapeType |
getShapeType() |
Margins |
getShield(StringBounder stringBounder) |
boolean |
isHidden() |
static FontConfiguration |
sansSerif12(HColor color) |
static FontConfiguration |
sansSerif14(HColor color) |
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 static FontConfiguration sansSerif12(HColor color)
public static FontConfiguration sansSerif14(HColor color)
public Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock
public ShapeType getShapeType()
getShapeType
in interface IEntityImage
public HColor getBackcolor()
getBackcolor
in interface TextBlockBackcolored
public Margins getShield(StringBounder stringBounder)
getShield
in interface IEntityImage
public double getOverscanX(StringBounder stringBounder)
getOverscanX
in interface IEntityImage