Class AbstractContainerSvgNodeRenderer

    • Constructor Detail

      • AbstractContainerSvgNodeRenderer

        public AbstractContainerSvgNodeRenderer()
    • Method Detail

      • doDraw

        protected void doDraw​(SvgDrawContext context)
        Description copied from class: AbstractBranchSvgNodeRenderer
        Method that will set properties to be inherited by this branch renderer's children and will iterate over all children in order to draw them.
        Overrides:
        doDraw in class AbstractBranchSvgNodeRenderer
        Parameters:
        context - the object that knows the place to draw this element and maintains its state
      • calculateViewPort

        Rectangle calculateViewPort​(SvgDrawContext context)
        Calculate the viewport based on the context.
        Parameters:
        context - the SVG draw context
        Returns:
        the viewport that applies to this renderer