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_DPI
IMAGE_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, render
public 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 JRAbstractRenderer
public ImageTypeEnum getImageTypeValue()
getImageTypeValue
in class JRAbstractRenderer
public Dimension2D getDimension(JasperReportsContext jasperReportsContext) throws JRException
getDimension
in class JRAbstractRenderer
JRException
public Dimension2D getDimension() throws JRException
getDimension(JasperReportsContext)
.JRException
public Color getBackcolor()
public byte[] getImageData() throws JRException
getImageData(JasperReportsContext)
.JRException
public void render(Graphics2D grx, Rectangle2D rectangle) throws JRException
JRAbstractRenderer.render(JasperReportsContext, Graphics2D, Rectangle2D)
.JRException
public byte[] getImageData(JasperReportsContext jasperReportsContext) throws JRException
getImageData
in class JRAbstractRenderer
JRException
protected int getImageDataDPI(JasperReportsContext jasperReportsContext)
protected Graphics2D createGraphics(BufferedImage bi)
Copyright © 2017. All rights reserved.