net.sourceforge.plantuml.ugraphic.svg
Class UGraphicSvg

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
      extended by net.sourceforge.plantuml.ugraphic.AbstractUGraphic<SvgGraphics>
          extended by net.sourceforge.plantuml.ugraphic.svg.UGraphicSvg
All Implemented Interfaces:
ClipContainer, UGraphic

public class UGraphicSvg
extends AbstractUGraphic<SvgGraphics>
implements ClipContainer


Constructor Summary
UGraphicSvg(ColorMapper colorMapper, boolean textAsPath)
           
UGraphicSvg(ColorMapper mapper, HtmlColorGradient gr, boolean textAsPath)
           
UGraphicSvg(ColorMapper colorMapper, String backcolor, boolean textAsPath)
           
 
Method Summary
protected  void afterDraw()
           
protected  void beforeDraw()
           
 void closeAction()
           
protected  AbstractCommonUGraphic copyUGraphic()
           
 void createXml(OutputStream os)
           
 StringBounder getStringBounder()
           
 SvgGraphics getSvgGraphics()
           
protected  boolean manageHiddenAutomatically()
           
 void startUrl(Url url)
           
 void writeImage(OutputStream os, String metadata, int dpi)
           
 
Methods inherited from class net.sourceforge.plantuml.ugraphic.AbstractUGraphic
draw, getGraphicObject, registerDriver
 
Methods inherited from class net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
apply, getClip, getColorMapper, getParam, getTranslateX, getTranslateY
 
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.ugraphic.ClipContainer
getClip
 

Constructor Detail

UGraphicSvg

public UGraphicSvg(ColorMapper colorMapper,
                   String backcolor,
                   boolean textAsPath)

UGraphicSvg

public UGraphicSvg(ColorMapper colorMapper,
                   boolean textAsPath)

UGraphicSvg

public UGraphicSvg(ColorMapper mapper,
                   HtmlColorGradient gr,
                   boolean textAsPath)
Method Detail

copyUGraphic

protected AbstractCommonUGraphic copyUGraphic()
Specified by:
copyUGraphic in class AbstractCommonUGraphic

manageHiddenAutomatically

protected boolean manageHiddenAutomatically()
Overrides:
manageHiddenAutomatically in class AbstractUGraphic<SvgGraphics>

beforeDraw

protected void beforeDraw()
Overrides:
beforeDraw in class AbstractUGraphic<SvgGraphics>

afterDraw

protected void afterDraw()
Overrides:
afterDraw in class AbstractUGraphic<SvgGraphics>

getSvgGraphics

public SvgGraphics getSvgGraphics()

getStringBounder

public StringBounder getStringBounder()
Specified by:
getStringBounder in interface UGraphic

createXml

public void createXml(OutputStream os)
               throws IOException
Throws:
IOException

startUrl

public void startUrl(Url url)
Specified by:
startUrl in interface UGraphic

closeAction

public void closeAction()
Specified by:
closeAction in interface UGraphic

writeImage

public void writeImage(OutputStream os,
                       String metadata,
                       int dpi)
                throws IOException
Specified by:
writeImage in interface UGraphic
Throws:
IOException


Copyright © 2013. All Rights Reserved.