Package org.pentaho.di.core
Class SwingUniversalImageSvg
- java.lang.Object
-
- org.pentaho.di.core.SwingUniversalImage
-
- org.pentaho.di.core.SwingUniversalImageSvg
-
public class SwingUniversalImageSvg extends SwingUniversalImage
-
-
Constructor Summary
Constructors Constructor Description SwingUniversalImageSvg(SvgImage svg)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBitmap()
protected void
render(Graphics2D gc, int centerX, int centerY, int width, int height, double angleRadians)
Draw SVG image to Graphics2D.static void
render(Graphics2D gc, org.apache.batik.gvt.GraphicsNode svgGraphicsNode, Dimension2D svgGraphicsSize, int centerX, int centerY, int width, int height, double angleRadians)
protected void
renderSimple(BufferedImage area)
Just scale for area's size.-
Methods inherited from class org.pentaho.di.core.SwingUniversalImage
createBitmap, createDoubleBitmap, createGraphics, drawToGraphics, drawToGraphics, getAsBitmapForSize, getAsBitmapForSize
-
-
-
-
Constructor Detail
-
SwingUniversalImageSvg
public SwingUniversalImageSvg(SvgImage svg)
-
-
Method Detail
-
isBitmap
public boolean isBitmap()
- Specified by:
isBitmap
in classSwingUniversalImage
-
renderSimple
protected void renderSimple(BufferedImage area)
Description copied from class:SwingUniversalImage
Just scale for area's size.- Specified by:
renderSimple
in classSwingUniversalImage
-
render
protected void render(Graphics2D gc, int centerX, int centerY, int width, int height, double angleRadians)
Draw SVG image to Graphics2D.- Specified by:
render
in classSwingUniversalImage
-
render
public static void render(Graphics2D gc, org.apache.batik.gvt.GraphicsNode svgGraphicsNode, Dimension2D svgGraphicsSize, int centerX, int centerY, int width, int height, double angleRadians)
-
-