Package net.sourceforge.plantuml.graphic
Class GraphicStrings
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.graphic.GraphicStrings
-
- All Implemented Interfaces:
TextBlock
,UDrawable
,Hideable
,IEntityImage
,TextBlockBackcolored
,UShape
public class GraphicStrings extends AbstractTextBlock implements IEntityImage
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.plantuml.svek.IEntityImage
CORNER, MARGIN, MARGIN_LINE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XDimension2D
calculateDimension(StringBounder stringBounder)
static TextBlockBackcolored
createBlackOnWhite(List<String> strings)
static TextBlockBackcolored
createBlackOnWhite(List<String> strings, BufferedImage image, GraphicPosition position)
static TextBlockBackcolored
createBlackOnWhiteMonospaced(List<String> strings)
static IEntityImage
createForError(List<String> strings, boolean useRed)
static TextBlockBackcolored
createGreenOnBlackMonospaced(List<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)
-
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getInnerPosition, getMinMax
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.graphic.TextBlock
getInnerPosition, getMinMax
-
-
-
-
Method Detail
-
createForError
public static IEntityImage createForError(List<String> strings, boolean useRed)
-
createGreenOnBlackMonospaced
public static TextBlockBackcolored createGreenOnBlackMonospaced(List<String> strings)
-
createBlackOnWhite
public static TextBlockBackcolored createBlackOnWhite(List<String> strings)
-
createBlackOnWhiteMonospaced
public static TextBlockBackcolored createBlackOnWhiteMonospaced(List<String> strings)
-
createBlackOnWhite
public static TextBlockBackcolored createBlackOnWhite(List<String> strings, BufferedImage image, GraphicPosition position)
-
sansSerif12
public static FontConfiguration sansSerif12(HColor color)
-
sansSerif14
public static FontConfiguration sansSerif14(HColor color)
-
calculateDimension
public XDimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interfaceTextBlock
-
getShapeType
public ShapeType getShapeType()
- Specified by:
getShapeType
in interfaceIEntityImage
-
getBackcolor
public HColor getBackcolor()
- Specified by:
getBackcolor
in interfaceTextBlockBackcolored
-
getShield
public Margins getShield(StringBounder stringBounder)
- Specified by:
getShield
in interfaceIEntityImage
-
getOverscanX
public double getOverscanX(StringBounder stringBounder)
- Specified by:
getOverscanX
in interfaceIEntityImage
-
-