net.sourceforge.plantuml.graphic
Class GraphicStrings
java.lang.Object
net.sourceforge.plantuml.graphic.GraphicStrings
- All Implemented Interfaces:
- TextBlock, UDrawable, Hideable, IEntityImage, TextBlockBackcolored, UShape
public class GraphicStrings
- extends Object
- implements IEntityImage
Constructor Summary |
GraphicStrings(List<String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing)
|
GraphicStrings(List<String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing,
BufferedImage image,
GraphicPosition position)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphicStrings
public GraphicStrings(List<String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing)
GraphicStrings
public GraphicStrings(List<String> strings,
UFont font,
HtmlColor green,
HtmlColor background,
UAntiAliasing antiAliasing,
BufferedImage image,
GraphicPosition position)
createDefault
public static GraphicStrings createDefault(List<String> strings,
boolean useRed)
setMinWidth
public void setMinWidth(double minWidth)
drawU
public void drawU(UGraphic ug)
- Specified by:
drawU
in interface UDrawable
calculateDimension
public Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interface TextBlock
getShapeType
public ShapeType getShapeType()
- Specified by:
getShapeType
in interface IEntityImage
getBackcolor
public HtmlColor getBackcolor()
- Specified by:
getBackcolor
in interface TextBlockBackcolored
getShield
public int getShield()
- Specified by:
getShield
in interface IEntityImage
isHidden
public boolean isHidden()
- Specified by:
isHidden
in interface Hideable
setMaxLine
public final void setMaxLine(int maxLine)
Copyright © 2014. All Rights Reserved.