Share

Vector Visuals

Tracker: Bugs

5 VisualImageObject does not set its own transparency - ID: 1756328
Last Update: Tracker Item Submitted ( j_jochem )

When adding a VisualImageObject to another VisualObject that has a
Composite set in its Brush for transparency, the VisualImageObject is
rendered with the same Composite, even if this is not desired. Calling
setFillBrush on the VisualImageObject does not change this, since
VisualImageObject does not apply Brushes in its renderObject()
implementation.

A quick and dirty fix to make all Images opaque is to add the line

new Brush(null, null, null).useOn(g);

in VisualImageObject's renderObject() implementation.


Jannik Jochem ( j_jochem ) - 2007-07-18 16:35

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.