AbstractRenderToImageDataRenderer.public abstract class JRAbstractSvgRenderer extends JRAbstractRenderer
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_DIMENSION_MUST_OVERRIDE
Deprecated.
|
static String |
EXCEPTION_MESSAGE_KEY_DIMENSION_NULL_NOT_ALLOWED
Deprecated.
|
PROPERTY_IMAGE_DPIIMAGE_TYPE_GIF, IMAGE_TYPE_JPEG, IMAGE_TYPE_PNG, IMAGE_TYPE_TIFF, IMAGE_TYPE_UNKNOWN, MIME_TYPE_GIF, MIME_TYPE_JPEG, MIME_TYPE_PNG, MIME_TYPE_TIFF, TYPE_IMAGE, TYPE_SVG| Constructor and Description |
|---|
JRAbstractSvgRenderer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Graphics2D |
createGraphics(BufferedImage bi)
Deprecated.
|
Color |
getBackcolor()
Deprecated.
|
Dimension2D |
getDimension()
Deprecated.
Replaced by
getDimension(JasperReportsContext). |
Dimension2D |
getDimension(JasperReportsContext jasperReportsContext)
Deprecated.
|
byte[] |
getImageData()
Deprecated.
Replaced by
getImageData(JasperReportsContext). |
byte[] |
getImageData(JasperReportsContext jasperReportsContext)
Deprecated.
|
protected int |
getImageDataDPI(JasperReportsContext jasperReportsContext)
Deprecated.
|
byte |
getImageType()
Deprecated.
Replaced by
getImageTypeValue(). |
ImageTypeEnum |
getImageTypeValue()
Deprecated.
|
byte |
getType()
Deprecated.
Replaced by
getTypeValue(). |
RenderableTypeEnum |
getTypeValue()
Deprecated.
|
void |
render(Graphics2D grx,
Rectangle2D rectangle)
Deprecated.
|
getId, renderpublic static final String EXCEPTION_MESSAGE_KEY_DIMENSION_MUST_OVERRIDE
public static final String EXCEPTION_MESSAGE_KEY_DIMENSION_NULL_NOT_ALLOWED
public byte getType()
getTypeValue().public byte getImageType()
getImageTypeValue().public RenderableTypeEnum getTypeValue()
getTypeValue in class JRAbstractRendererpublic ImageTypeEnum getImageTypeValue()
getImageTypeValue in class JRAbstractRendererpublic Dimension2D getDimension(JasperReportsContext jasperReportsContext) throws JRException
getDimension in class JRAbstractRendererJRExceptionpublic Dimension2D getDimension() throws JRException
getDimension(JasperReportsContext).JRExceptionpublic Color getBackcolor()
public byte[] getImageData()
throws JRException
getImageData(JasperReportsContext).JRExceptionpublic void render(Graphics2D grx, Rectangle2D rectangle) throws JRException
JRAbstractRenderer.render(JasperReportsContext, Graphics2D, Rectangle2D).JRExceptionpublic byte[] getImageData(JasperReportsContext jasperReportsContext) throws JRException
getImageData in class JRAbstractRendererJRExceptionprotected int getImageDataDPI(JasperReportsContext jasperReportsContext)
protected Graphics2D createGraphics(BufferedImage bi)
Copyright © 2017. All rights reserved.