# Uses of Class
java.awt.AlphaComposite

Packages that use AlphaComposite
Package | Description
--- | ---
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.

## Uses of AlphaComposite in java.awt

Fields in java.awt declared as AlphaComposite
Modifier and Type | Field | Description
--- | --- | ---
`static AlphaComposite` | AlphaComposite.`Clear` | `AlphaComposite` object that implements the opaque CLEAR rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`Dst` | `AlphaComposite` object that implements the opaque DST rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`DstAtop` | `AlphaComposite` object that implements the opaque DST_ATOP rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`DstIn` | `AlphaComposite` object that implements the opaque DST_IN rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`DstOut` | `AlphaComposite` object that implements the opaque DST_OUT rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`DstOver` | `AlphaComposite` object that implements the opaque DST_OVER rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`Src` | `AlphaComposite` object that implements the opaque SRC rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`SrcAtop` | `AlphaComposite` object that implements the opaque SRC_ATOP rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`SrcIn` | `AlphaComposite` object that implements the opaque SRC_IN rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`SrcOut` | `AlphaComposite` object that implements the opaque SRC_OUT rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`SrcOver` | `AlphaComposite` object that implements the opaque SRC_OVER rule with an alpha of 1.0f.
`static AlphaComposite` | AlphaComposite.`Xor` | `AlphaComposite` object that implements the opaque XOR rule with an alpha of 1.0f.

Methods in java.awt that return AlphaComposite
Modifier and Type | Method | Description
--- | --- | ---
`AlphaComposite` | AlphaComposite.`derive​(float alpha)` | Returns a similar `AlphaComposite` object that uses the specified alpha value.
`AlphaComposite` | AlphaComposite.`derive​(int rule)` | Returns a similar `AlphaComposite` object that uses the specified compositing rule.
`static AlphaComposite` | AlphaComposite.`getInstance​(int rule)` | Creates an `AlphaComposite` object with the specified rule.
`static AlphaComposite` | AlphaComposite.`getInstance​(int rule, float alpha)` | Creates an `AlphaComposite` object with the specified rule and the constant alpha to multiply with the alpha of the source.