public class GraphicStrings extends AbstractTextBlock implements IEntityImage
CORNER, MARGIN, MARGIN_LINE| Modifier and Type | Method and Description |
|---|---|
XDimension2D |
calculateDimension(StringBounder stringBounder) |
static TextBlock |
createBlackOnWhite(java.util.List<java.lang.String> strings) |
static TextBlock |
createBlackOnWhite(java.util.List<java.lang.String> strings,
java.awt.image.BufferedImage image,
GraphicPosition position) |
static TextBlock |
createBlackOnWhiteMonospaced(java.util.List<java.lang.String> strings) |
static IEntityImage |
createForError(java.util.List<java.lang.String> strings,
boolean useRed) |
static TextBlock |
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, getMagneticBorder, getMinMaxclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMagneticBordergetInnerPosition, getMinMaxpublic static IEntityImage createForError(java.util.List<java.lang.String> strings, boolean useRed)
public static TextBlock createGreenOnBlackMonospaced(java.util.List<java.lang.String> strings)
public static TextBlock createBlackOnWhite(java.util.List<java.lang.String> strings)
public static TextBlock createBlackOnWhiteMonospaced(java.util.List<java.lang.String> strings)
public static TextBlock 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 XDimension2D calculateDimension(StringBounder stringBounder)
calculateDimension in interface TextBlockpublic ShapeType getShapeType()
getShapeType in interface IEntityImagepublic HColor getBackcolor()
getBackcolor in interface TextBlockgetBackcolor in class AbstractTextBlockpublic Margins getShield(StringBounder stringBounder)
getShield in interface IEntityImagepublic double getOverscanX(StringBounder stringBounder)
getOverscanX in interface IEntityImage