-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0
See attached images:
EffectsTest-Blend-Swing.png -- blend effects with Swing toolking
EffectsTest-Blend-Prism.png -- blend effects with Prism toolking
EffectsTest-Blend-diff.png -- color difference between first two (black color means no difference).
Note, for COLOR_BURN effect difference is huge.
Code providing each images is next:
new Group() {{
setBlendMode(blendMode);
getContent().add(new Rectangle(20, 20, 60, 60) {{ setFill(Color.rgb(0, 50, 255));}} );
getContent().add(new Circle(70, 70, 30) {{ setFill(Color.rgb(255, 150, 0, 0.7f));}} );
}}
EffectsTest-Blend-Swing.png -- blend effects with Swing toolking
EffectsTest-Blend-Prism.png -- blend effects with Prism toolking
EffectsTest-Blend-diff.png -- color difference between first two (black color means no difference).
Note, for COLOR_BURN effect difference is huge.
Code providing each images is next:
new Group() {{
setBlendMode(blendMode);
getContent().add(new Rectangle(20, 20, 60, 60) {{ setFill(Color.rgb(0, 50, 255));}} );
getContent().add(new Circle(70, 70, 30) {{ setFill(Color.rgb(255, 150, 0, 0.7f));}} );
}}
- relates to
-
JDK-8109700 Different blending modes rendered incorrectly
- Closed