Interface RenderToImageAwareRenderable

All Known Implementing Classes:
AbstractRenderToImageAwareRenderer, AbstractRenderToImageDataRenderer, AbstractSvgDataToGraphics2DRenderer, DrawChartRendererImpl, SimpleRenderToImageAwareDataRenderer, WrappingRenderToImageDataRenderer, WrappingSvgDataToGraphics2DRenderer

public interface RenderToImageAwareRenderable
This interface should be implemented by renderable object which want to benefit from better resolution and control the way the graphic context is created when they are converted to image data, during export to certain document formats.
Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Method Details

    • getImageDataDPI

      int getImageDataDPI(JasperReportsContext jasperReportsContext)
    • getReportDpi

      default int getReportDpi()
      Returns the resolution of the report this renderer belongs to. Renderer dimensions are expressed in the pixels of the report, so the resolution is needed to work out the physical size an image has to be rasterized at.
    • createGraphics

      Graphics2D createGraphics(BufferedImage bi)