Class SvgImageRenderer

All Implemented Interfaces:
IPropertyContainer, ILeafElementRenderer, IRenderer

public class SvgImageRenderer extends ImageRenderer
Represents a renderer for the SvgImage layout element.
  • Constructor Details

    • SvgImageRenderer

      public SvgImageRenderer (SvgImage image)
      Creates an SvgImageRenderer from its corresponding layout object.
      Parameters:
      image - the SvgImage which this object should manage
  • Method Details

    • draw

      public void draw (DrawContext drawContext)
      Flushes the renderer subtree contents, i.e. draws itself on canvas, adds necessary objects to the PdfDocument etc.
      Specified by:
      draw in interface IRenderer
      Overrides:
      draw in class ImageRenderer
      Parameters:
      drawContext - contains the PdfDocument to which the renderer subtree if flushed, the PdfCanvas on which the renderer subtree is drawn and other additional parameters needed to perform drawing