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, getAsBitmapForSizepublic SwingUniversalImageSvg(SvgImage svg)
public boolean isBitmap()
isBitmap in class SwingUniversalImageprotected void renderSimple(BufferedImage area)
SwingUniversalImagerenderSimple in class SwingUniversalImageprotected void render(Graphics2D gc, int centerX, int centerY, int width, int height, double angleRadians)
render in class SwingUniversalImagepublic static void render(Graphics2D gc, org.apache.batik.gvt.GraphicsNode svgGraphicsNode, Dimension2D svgGraphicsSize, int centerX, int centerY, int width, int height, double angleRadians)
Copyright © 2020 Hitachi Vantara. All rights reserved.