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
-
Constructor Summary
ConstructorsConstructorDescriptionUGraphicSvg(HColor defaultBackground, boolean svgDimensionStyle, Dimension2D minDim, ColorMapper colorMapper, boolean textAsPath, double scale, String linkTarget, String hover, long seed, String preserveAspectRatio, StringBounder stringBounder, LengthAdjust lengthAdjust, boolean interactive) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidvoidvoidcloseUrl()protected AbstractCommonUGraphicdoubleprotected voiddrawComment(UComment comment) protected booleanbooleanmatchesProperty(String propertyName) voidstartGroup(Map<UGroupType, String> typeIdents) voidvoidwriteToStream(OutputStream os, String metadata, int dpi) Methods inherited from class net.sourceforge.plantuml.ugraphic.AbstractUGraphic
draw, getGraphicObject, ignoreShape, registerDriverMethods inherited from class net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
apply, enlargeClip, flushUg, getClip, getColorMapper, getDefaultBackground, getParam, getStringBounder, getTranslateX, getTranslateYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sourceforge.plantuml.ugraphic.ClipContainer
getClip
-
Constructor Details
-
UGraphicSvg
public UGraphicSvg(HColor defaultBackground, boolean svgDimensionStyle, Dimension2D minDim, ColorMapper colorMapper, boolean textAsPath, double scale, String linkTarget, String hover, long seed, String preserveAspectRatio, StringBounder stringBounder, LengthAdjust lengthAdjust, boolean interactive)
-
-
Method Details
-
dpiFactor
public double dpiFactor()- Overrides:
dpiFactorin classAbstractCommonUGraphic
-
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
-
writeToStream
- Specified by:
writeToStreamin interfaceUGraphic- Throws:
IOException
-
startGroup
- Specified by:
startGroupin interfaceUGraphic- Overrides:
startGroupin classAbstractCommonUGraphic
-
closeGroup
public void closeGroup()- Specified by:
closeGroupin interfaceUGraphic- Overrides:
closeGroupin classAbstractCommonUGraphic
-
startUrl
- Specified by:
startUrlin interfaceUGraphic- Overrides:
startUrlin classAbstractCommonUGraphic
-
closeUrl
public void closeUrl()- Specified by:
closeUrlin interfaceUGraphic- Overrides:
closeUrlin classAbstractCommonUGraphic
-
drawComment
- Overrides:
drawCommentin classAbstractUGraphic<SvgGraphics>
-
matchesProperty
- Specified by:
matchesPropertyin interfaceUGraphic- Overrides:
matchesPropertyin classAbstractCommonUGraphic
-