Class SvgImageRenderer

    • Constructor Detail

      • SvgImageRenderer

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

      • 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