This demo shows how different java.awt.AlphaComposites
render. This demo does not feature new/novel code.
On the rare occasion that I need a composite other than SRC_OVER
: sometimes I forget exactly which composite I need. And the AlphaComposite javadoc is great, but the mathematical expression isn't as useful (to me) as just seeing the composites in action.
Observe how changing the controls in the "Configuration" panel affect the "Example" panel.