Class UGraphicSvg
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
-
- net.sourceforge.plantuml.ugraphic.AbstractUGraphic<SvgGraphics>
-
- net.sourceforge.plantuml.ugraphic.svg.UGraphicSvg
-
- All Implemented Interfaces:
ClipContainer
,UGraphic
public class UGraphicSvg extends AbstractUGraphic<SvgGraphics> implements ClipContainer
-
-
Constructor Summary
Constructors Constructor Description UGraphicSvg(HColor defaultBackground, boolean svgDimensionStyle, XDimension2D minDim, ColorMapper colorMapper, boolean textAsPath, double scale, String linkTarget, String hover, long seed, String preserveAspectRatio, StringBounder stringBounder, LengthAdjust lengthAdjust, boolean interactive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterDraw()
protected void
beforeDraw()
void
closeGroup()
void
closeUrl()
protected AbstractCommonUGraphic
copyUGraphic()
double
dpiFactor()
protected void
drawComment(UComment comment)
SvgGraphics
getSvgGraphics()
protected boolean
manageHiddenAutomatically()
boolean
matchesProperty(String propertyName)
void
startGroup(Map<UGroupType,String> typeIdents)
void
startUrl(Url url)
void
writeToStream(OutputStream os, String metadata, int dpi)
-
Methods inherited from class net.sourceforge.plantuml.ugraphic.AbstractUGraphic
draw, getGraphicObject, ignoreShape, registerDriver
-
Methods inherited from class net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
apply, enlargeClip, flushUg, getClip, getColorMapper, getDefaultBackground, getParam, getStringBounder, 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(HColor defaultBackground, boolean svgDimensionStyle, XDimension2D minDim, ColorMapper colorMapper, boolean textAsPath, double scale, String linkTarget, String hover, long seed, String preserveAspectRatio, StringBounder stringBounder, LengthAdjust lengthAdjust, boolean interactive)
-
-
Method Detail
-
dpiFactor
public double dpiFactor()
- Overrides:
dpiFactor
in classAbstractCommonUGraphic
-
copyUGraphic
protected AbstractCommonUGraphic copyUGraphic()
- Specified by:
copyUGraphic
in classAbstractCommonUGraphic
-
manageHiddenAutomatically
protected boolean manageHiddenAutomatically()
- Overrides:
manageHiddenAutomatically
in classAbstractUGraphic<SvgGraphics>
-
beforeDraw
protected void beforeDraw()
- Overrides:
beforeDraw
in classAbstractUGraphic<SvgGraphics>
-
afterDraw
protected void afterDraw()
- Overrides:
afterDraw
in classAbstractUGraphic<SvgGraphics>
-
getSvgGraphics
public SvgGraphics getSvgGraphics()
-
writeToStream
public void writeToStream(OutputStream os, String metadata, int dpi) throws IOException
- Specified by:
writeToStream
in interfaceUGraphic
- Throws:
IOException
-
startGroup
public void startGroup(Map<UGroupType,String> typeIdents)
- Specified by:
startGroup
in interfaceUGraphic
- Overrides:
startGroup
in classAbstractCommonUGraphic
-
closeGroup
public void closeGroup()
- Specified by:
closeGroup
in interfaceUGraphic
- Overrides:
closeGroup
in classAbstractCommonUGraphic
-
startUrl
public void startUrl(Url url)
- Specified by:
startUrl
in interfaceUGraphic
- Overrides:
startUrl
in classAbstractCommonUGraphic
-
closeUrl
public void closeUrl()
- Specified by:
closeUrl
in interfaceUGraphic
- Overrides:
closeUrl
in classAbstractCommonUGraphic
-
drawComment
protected void drawComment(UComment comment)
- Overrides:
drawComment
in classAbstractUGraphic<SvgGraphics>
-
matchesProperty
public boolean matchesProperty(String propertyName)
- Specified by:
matchesProperty
in interfaceUGraphic
- Overrides:
matchesProperty
in classAbstractCommonUGraphic
-
-