Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-915

Changing visibility for CompositeGraphicsNode does not work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Incomplete
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: GVT
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      When setting node.setVisible(false), where node is an instance of CompositeGraphicsNode, note is still painted.

      Proposed solution:
      in file org/apache/batik/gvt/AbstractGraphicsNode.java add the following at the beginning of method "public void paint(Graphics2D g2d)":

      if (!isVisible())
      return;

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              boris.kolar.mail@gmail.com boris.kolar.mail
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: