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, Dimension2D minDim, ColorMapper colorMapper, boolean textAsPath, double scale, java.lang.String linkTarget, java.lang.String hover, long seed, java.lang.String preserveAspectRatio, StringBounder stringBounder, LengthAdjust lengthAdjust, boolean interactive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterDraw()protected voidbeforeDraw()voidcloseGroup()voidcloseUrl()protected AbstractCommonUGraphiccopyUGraphic()doubledpiFactor()protected voiddrawComment(UComment comment)SvgGraphicsgetSvgGraphics()protected booleanmanageHiddenAutomatically()booleanmatchesProperty(java.lang.String propertyName)voidstartGroup(java.util.Map<UGroupType,java.lang.String> typeIdents)voidstartUrl(Url url)voidwriteToStream(java.io.OutputStream os, java.lang.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, Dimension2D minDim, ColorMapper colorMapper, boolean textAsPath, double scale, java.lang.String linkTarget, java.lang.String hover, long seed, java.lang.String preserveAspectRatio, StringBounder stringBounder, LengthAdjust lengthAdjust, boolean interactive)
-
-
Method Detail
-
dpiFactor
public double dpiFactor()
- Overrides:
dpiFactorin classAbstractCommonUGraphic
-
copyUGraphic
protected AbstractCommonUGraphic copyUGraphic()
- Specified by:
copyUGraphicin classAbstractCommonUGraphic
-
manageHiddenAutomatically
protected boolean manageHiddenAutomatically()
- Overrides:
manageHiddenAutomaticallyin classAbstractUGraphic<SvgGraphics>
-
beforeDraw
protected void beforeDraw()
- Overrides:
beforeDrawin classAbstractUGraphic<SvgGraphics>
-
afterDraw
protected void afterDraw()
- Overrides:
afterDrawin classAbstractUGraphic<SvgGraphics>
-
getSvgGraphics
public SvgGraphics getSvgGraphics()
-
writeToStream
public void writeToStream(java.io.OutputStream os, java.lang.String metadata, int dpi) throws java.io.IOException- Specified by:
writeToStreamin interfaceUGraphic- Throws:
java.io.IOException
-
startGroup
public void startGroup(java.util.Map<UGroupType,java.lang.String> typeIdents)
- Specified by:
startGroupin interfaceUGraphic- Overrides:
startGroupin classAbstractCommonUGraphic
-
closeGroup
public void closeGroup()
- Specified by:
closeGroupin interfaceUGraphic- Overrides:
closeGroupin classAbstractCommonUGraphic
-
startUrl
public void startUrl(Url url)
- Specified by:
startUrlin interfaceUGraphic- Overrides:
startUrlin classAbstractCommonUGraphic
-
closeUrl
public void closeUrl()
- Specified by:
closeUrlin interfaceUGraphic- Overrides:
closeUrlin classAbstractCommonUGraphic
-
drawComment
protected void drawComment(UComment comment)
- Overrides:
drawCommentin classAbstractUGraphic<SvgGraphics>
-
matchesProperty
public boolean matchesProperty(java.lang.String propertyName)
- Specified by:
matchesPropertyin interfaceUGraphic- Overrides:
matchesPropertyin classAbstractCommonUGraphic
-
-