net.sourceforge.plantuml.graphic
Class GraphicStrings

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

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

GraphicStrings

public GraphicStrings(List<String> strings,
                      UFont font,
                      HtmlColor green,
                      HtmlColor background,
                      BufferedImage image,
                      GraphicPosition position,
                      boolean disableTextAliasing)
Method Detail

writeImage

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

writeImage

public void writeImage(OutputStream os,
                       String metadata,
                       FileFormatOption fileFormatOption)
                throws IOException
Throws:
IOException

setMinWidth

public void setMinWidth(double minWidth)

drawU

public Dimension2D drawU(UGraphic ug)

drawU

public void drawU(UGraphic ug,
                  double theoricalPosition,
                  double theoricalPosition2)
Specified by:
drawU in interface IEntityImage

getDimension

public Dimension2D getDimension(StringBounder stringBounder)
Specified by:
getDimension in interface IEntityImage

getShapeType

public ShapeType getShapeType()
Specified by:
getShapeType in interface IEntityImage

getBackcolor

public HtmlColor getBackcolor()
Specified by:
getBackcolor in interface IEntityImage

getShield

public int getShield()
Specified by:
getShield in interface IEntityImage

isHidden

public boolean isHidden()
Specified by:
isHidden in interface Hideable


Copyright © 2013. All Rights Reserved.