Description
Graphics draw and fill methods work incorrectly with AlphaComposite different from AlphaComposite.Src
Simple reproducer:
import java.io.*;
import java.awt.*;
import java.awt.image.*;
import javax.swing.*;
public class FillRectTest extends JFrame {
public static void main(String[] args){
final FillRectTest test = new FillRectTest();
test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
test.setSize(200, 200);
test.add(new Panel(){
public void paint(Graphics g)
});
test.setVisible(true);
}
}