net.sourceforge.plantuml.graphic
Class GraphicStrings

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

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)
           
GraphicStrings(List<String> strings, BufferedImage image)
           
GraphicStrings(List<String> strings, UFont font, HtmlColor green, HtmlColor background, BufferedImage image, GraphicPosition position, UAntiAliasing antiAliasing)
           
GraphicStrings(List<String> strings, UFont font, HtmlColor green, HtmlColor background, UAntiAliasing antiAliasing)
           
 
Method Summary
 Dimension2D calculateDimension(StringBounder stringBounder)
           
 void drawU(UGraphic ug)
           
 ImageData exportDiagram(OutputStream os, FileFormatOption fileFormatOption)
           
 ImageData exportDiagram(OutputStream os, String metadata, FileFormatOption fileFormatOption)
           
 HtmlColor getBackcolor()
           
 ShapeType getShapeType()
           
 int getShield()
           
 List<Url> getUrls()
           
 boolean isHidden()
           
 void setMinWidth(double minWidth)
           
 void writeImage(OutputStream os, FileFormatOption fileFormat)
           
 
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)

GraphicStrings

public GraphicStrings(List<String> strings,
                      BufferedImage image)

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,
                      BufferedImage image,
                      GraphicPosition position,
                      UAntiAliasing antiAliasing)
Method Detail

writeImage

public void writeImage(OutputStream os,
                       FileFormatOption fileFormat)
                throws IOException
Throws:
IOException

exportDiagram

public ImageData exportDiagram(OutputStream os,
                               FileFormatOption fileFormatOption)
                        throws IOException
Throws:
IOException

exportDiagram

public ImageData exportDiagram(OutputStream os,
                               String metadata,
                               FileFormatOption fileFormatOption)
                        throws IOException
Throws:
IOException

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

getUrls

public final List<Url> getUrls()
Specified by:
getUrls in interface TextBlock


Copyright © 2013. All Rights Reserved.