Class GroupSvgNodeRenderer

    • Constructor Detail

      • GroupSvgNodeRenderer

        public GroupSvgNodeRenderer()
    • 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
      • getObjectBoundingBox

        public Rectangle getObjectBoundingBox​(SvgDrawContext context)
        Description copied from interface: ISvgNodeRenderer
        Calculates the current object bounding box.
        Parameters:
        context - the current context, for instance it contains current viewport and available font data
        Returns:
        the Rectangle representing the current object's bounding box, or null if bounding box is undefined