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 Dimension2DcalculateDimension(StringBounder stringBounder)static TextBlockBackcoloredcreateBlackOnWhite(java.util.List<java.lang.String> strings)static TextBlockBackcoloredcreateBlackOnWhite(java.util.List<java.lang.String> strings, java.awt.image.BufferedImage image, GraphicPosition position)static TextBlockBackcoloredcreateBlackOnWhiteMonospaced(java.util.List<java.lang.String> strings)static IEntityImagecreateForError(java.util.List<java.lang.String> strings, boolean useRed)static TextBlockBackcoloredcreateGreenOnBlackMonospaced(java.util.List<java.lang.String> strings)voiddrawU(UGraphic ug)HColorgetBackcolor()doublegetOverscanX(StringBounder stringBounder)ShapeTypegetShapeType()MarginsgetShield(StringBounder stringBounder)booleanisHidden()static FontConfigurationsansSerif12(HColor color)static FontConfigurationsansSerif14(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(java.util.List<java.lang.String> strings, boolean useRed)
-
createGreenOnBlackMonospaced
public static TextBlockBackcolored createGreenOnBlackMonospaced(java.util.List<java.lang.String> strings)
-
createBlackOnWhite
public static TextBlockBackcolored createBlackOnWhite(java.util.List<java.lang.String> strings)
-
createBlackOnWhiteMonospaced
public static TextBlockBackcolored createBlackOnWhiteMonospaced(java.util.List<java.lang.String> strings)
-
createBlackOnWhite
public static TextBlockBackcolored 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 Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimensionin interfaceTextBlock
-
getShapeType
public ShapeType getShapeType()
- Specified by:
getShapeTypein interfaceIEntityImage
-
getBackcolor
public HColor getBackcolor()
- Specified by:
getBackcolorin interfaceTextBlockBackcolored
-
getShield
public Margins getShield(StringBounder stringBounder)
- Specified by:
getShieldin interfaceIEntityImage
-
getOverscanX
public double getOverscanX(StringBounder stringBounder)
- Specified by:
getOverscanXin interfaceIEntityImage
-
-