Class GraphicStrings
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.shape.AbstractTextBlock
-
- net.sourceforge.plantuml.klimt.shape.GraphicStrings
-
- All Implemented Interfaces:
Hideable
,TextBlock
,UDrawable
,UShape
,IEntityImage
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 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)
-
Methods inherited from class net.sourceforge.plantuml.klimt.shape.AbstractTextBlock
getInnerPosition, getMagneticBorder, 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.svek.IEntityImage
getMagneticBorder
-
Methods inherited from interface net.sourceforge.plantuml.klimt.shape.TextBlock
getInnerPosition, getMinMax
-
-
-
-
Method Detail
-
createForError
public static IEntityImage createForError(java.util.List<java.lang.String> strings, boolean useRed)
-
createGreenOnBlackMonospaced
public static TextBlock createGreenOnBlackMonospaced(java.util.List<java.lang.String> strings)
-
createBlackOnWhite
public static TextBlock createBlackOnWhite(java.util.List<java.lang.String> strings)
-
createBlackOnWhiteMonospaced
public static TextBlock createBlackOnWhiteMonospaced(java.util.List<java.lang.String> strings)
-
createBlackOnWhite
public static TextBlock createBlackOnWhite(java.util.List<java.lang.String> strings, java.awt.image.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 interfaceTextBlock
- Overrides:
getBackcolor
in classAbstractTextBlock
-
getShield
public Margins getShield(StringBounder stringBounder)
- Specified by:
getShield
in interfaceIEntityImage
-
getOverscanX
public double getOverscanX(StringBounder stringBounder)
- Specified by:
getOverscanX
in interfaceIEntityImage
-
-