public class BufferPainter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BufferPainter.Cache |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG_PAINT |
| Constructor and Description |
|---|
BufferPainter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
paintElement(Graphics2D g,
RenderableElement element) |
static BufferedImage |
paintToBuffer(Graphics2D g,
AffineTransform transform,
Rectangle dstBounds,
Rectangle srcBounds,
RenderableElement element,
Color bgColor,
boolean preMultiplied) |
static BufferedImage |
paintToBuffer(Graphics2D g,
AffineTransform transform,
Rectangle srcBounds,
RenderableElement element,
Color bgColor) |
public static final boolean DEBUG_PAINT
public static void paintElement(Graphics2D g, RenderableElement element) throws SVGException
SVGExceptionpublic static BufferedImage paintToBuffer(Graphics2D g, AffineTransform transform, Rectangle srcBounds, RenderableElement element, Color bgColor) throws SVGException
SVGExceptionpublic static BufferedImage paintToBuffer(Graphics2D g, AffineTransform transform, Rectangle dstBounds, Rectangle srcBounds, RenderableElement element, Color bgColor, boolean preMultiplied) throws SVGException
SVGExceptionCopyright © 2022. All rights reserved.