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, getMinMax
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMagneticBorder
getInnerPosition, getMinMax
public 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 TextBlock
public ShapeType getShapeType()
getShapeType
in interface IEntityImage
public HColor getBackcolor()
getBackcolor
in interface TextBlock
getBackcolor
in class AbstractTextBlock
public Margins getShield(StringBounder stringBounder)
getShield
in interface IEntityImage
public double getOverscanX(StringBounder stringBounder)
getOverscanX
in interface IEntityImage