If transparency is set using
Graphics2D.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER,
composite)
then Graphics2D.draw operations will fill the shape instead of drawing an
outline.

You can run the J2dBenchmark (gnu.classpath.examples.java2d.J2dBenchmark) with
transparency set as an example of this bug.


-- 
           Summary: Graphics2D.draw with transparency (alpha composite)
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fkung at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28147



_______________________________________________
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath

Reply via email to