## Uses of Interface
java.awt.Composite

Packages that use Composite
java.awt: Contains all of the classes for creating user interfaces and for painting graphics and images.

### Uses of Composite in java.awt

Classes in java.awt that implement Composite
`class` `AlphaComposite` The `AlphaComposite` class implements basic alpha compositing rules for combining source and destination colors to achieve blending and transparency effects with graphics and images.

Methods in java.awt that return Composite
`abstract Composite` Graphics2D.`getComposite()` Returns the current `Composite` in the `Graphics2D` context.

Methods in java.awt with parameters of type Composite
`abstract void` Graphics2D.`setComposite​(Composite comp)` Sets the `Composite` for the `Graphics2D` context.