https://issues.apache.org/bugzilla/show_bug.cgi?id=46353
James D <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
--- Comment #2 from James D <[EMAIL PROTECTED]> 2008-12-09 02:13:50 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> > JSVGCanvas and JSVGComponent ignore setOpaque() and always draw a background
>
> Correct it always draws the background color you tell it to.
> There is no reason that setOpaque should disable this, the
> background color may be semi-transparent.
>
What should setOpaqaue(false) do then on a JSVGCanvas or JSVGComponent?
I've been digging around the javaswing to find the equivalent and
JComponent.paintComponent invokes the update method in
ComponentUi.java which does this...
public void update(Graphics g, JComponent c) {
if (c.isOpaque()) {
g.setColor(c.getBackground());
g.fillRect(0, 0, c.getWidth(),c.getHeight());
}
paint(g, c);
}
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]