public class SwingUniversalImageSvg extends SwingUniversalImage
Constructor and Description |
---|
SwingUniversalImageSvg(SvgImage svg) |
Modifier and Type | Method and Description |
---|---|
boolean |
isBitmap() |
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 |
render(Graphics2D gc,
int centerX,
int centerY,
int width,
int height,
double angleRadians)
Draw SVG image to Graphics2D.
|
protected void |
renderSimple(BufferedImage area)
Just scale for area's size.
|
createBitmap, createDoubleBitmap, createGraphics, drawToGraphics, drawToGraphics, getAsBitmapForSize, getAsBitmapForSize
public SwingUniversalImageSvg(SvgImage svg)
public boolean isBitmap()
isBitmap
in class SwingUniversalImage
protected void renderSimple(BufferedImage area)
SwingUniversalImage
renderSimple
in class SwingUniversalImage
protected void render(Graphics2D gc, int centerX, int centerY, int width, int height, double angleRadians)
render
in class SwingUniversalImage
public static void render(Graphics2D gc, org.apache.batik.gvt.GraphicsNode svgGraphicsNode, Dimension2D svgGraphicsSize, int centerX, int centerY, int width, int height, double angleRadians)
Copyright © 2018 Hitachi Vantara. All rights reserved.