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

JGVTComponent doesn't respect the opacity setting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Incomplete
    • 1.6
    • None
    • GVT
    • None
    • Operating System: other
      Platform: Other

    Description

      The JGVTComponent.paintComponent ignores the opacity setting and paints the
      background in any case:

      g2d.setComposite(AlphaComposite.SrcOver);
      g2d.setPaint(getBackground());
      g2d.fillRect(visRect.x, visRect.y,
      visRect.width, visRect.height);

      A workaround is to set the background to new Color(0x0, true)

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            kirillcool@yahoo.com Kirill Grouchnikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: