net.sourceforge.plantuml.graphic
Class GraphicStrings

java.lang.Object
  extended by net.sourceforge.plantuml.graphic.GraphicStrings
All Implemented Interfaces:
TextBlock, UDrawable, Hideable, IEntityImage, TextBlockBackcolored, UShape

public class GraphicStrings
extends Object
implements IEntityImage


Field Summary
 
Fields inherited from interface net.sourceforge.plantuml.svek.IEntityImage
CORNER, MARGIN, MARGIN_LINE
 
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)
           
 
Method Summary
 Dimension2D calculateDimension(StringBounder stringBounder)
           
static GraphicStrings createDefault(List<String> strings, boolean useRed)
           
 void drawU(UGraphic ug)
           
 HtmlColor getBackcolor()
           
 ShapeType getShapeType()
           
 int getShield()
           
 boolean isHidden()
           
 void setMaxLine(int maxLine)
           
 void setMinWidth(double minWidth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.