Class FreeHEPSVGGraphics
java.lang.Object
java.awt.Graphics
java.awt.Graphics2D
de.cau.cs.kieler.klighd.piccolo.export.KlighdAbstractSVGGraphics
de.cau.cs.kieler.klighd.piccolo.freehep.FreeHEPSVGGraphics
- All Implemented Interfaces:
KlighdSWTGraphicsEx,KlighdSWTGraphics
Wrapper for the FreeHEP
SVGGraphics2D class.- Author:
- uru
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.cau.cs.kieler.klighd.piccolo.export.KlighdAbstractSVGGraphics
KlighdAbstractSVGGraphics.KlighdGradientPaint -
Constructor Summary
ConstructorsConstructorDescriptionFreeHEPSVGGraphics(Rectangle2D bounds, Boolean textAsShapes, Boolean embedFonts) -
Method Summary
Methods inherited from class de.cau.cs.kieler.klighd.piccolo.export.KlighdAbstractSVGGraphics
addRenderingHints, addSemanticData, canHandleMultiline, clearRect, clip, clipRect, copyArea, create, dispose, draw, draw, drawArc, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolyline, drawRenderableImage, drawRenderedImage, drawRoundRect, drawString, drawString, drawString, drawString, drawText, endGroup, fill, fill, fillArc, fillOval, fillPolygon, fillRect, fillRoundRect, getAbsoluteFontHeight, getAlpha, getBackground, getClip, getClipBounds, getColor, getComposite, getDevice, getDeviceConfiguration, getFillColor, getFont, getFontData, getFontMetrics, getFontRenderContext, getGC, getGraphicsDelegate, getLineAttributes, getLineWidth, getPaint, getRenderingHint, getRenderingHints, getStroke, getStrokeColor, getTransform, hit, resumeFontCaching, rotate, rotate, scale, setAlpha, setBackground, setCanHandleMultiline, setClip, setClip, setColor, setComposite, setDevice, setFillColor, setFillPattern, setFont, setFont, setFont, setGC, setGraphicsDelegate, setLineAttributes, setNextTextLength, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStrikeout, setStroke, setStrokeColor, setStrokePattern, setTransform, setUnderline, setXORMode, shear, startGroup, stopFontCaching, transform, translate, translateMethods inherited from class java.awt.Graphics2D
draw3DRect, fill3DRectMethods inherited from class java.awt.Graphics
create, drawBytes, drawChars, drawPolygon, drawRect, fillPolygon, finalize, getClipBounds, getClipRect, getFontMetrics, hitClip, toString
-
Constructor Details
-
FreeHEPSVGGraphics
- Parameters:
bounds- the bounds will be set as viewport values for the resulting root <svg ..> tag.textAsShapes- whether text should be rendered as shapesembedFonts- whether the texts' fonts shall be embedded in the output
-
-
Method Details
-
getSVG
- Specified by:
getSVGin classKlighdAbstractSVGGraphics
-
clear
public void clear()- Specified by:
clearin classKlighdAbstractSVGGraphics
-
stream
- Specified by:
streamin classKlighdAbstractSVGGraphics- Throws:
IOException
-