Uses of Class
java.awt.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 AlphaCompositeAlphaComposite. ClearAlphaCompositeobject that implements the opaque CLEAR rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. DstAlphaCompositeobject that implements the opaque DST rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. DstAtopAlphaCompositeobject that implements the opaque DST_ATOP rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. DstInAlphaCompositeobject that implements the opaque DST_IN rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. DstOutAlphaCompositeobject that implements the opaque DST_OUT rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. DstOverAlphaCompositeobject that implements the opaque DST_OVER rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. SrcAlphaCompositeobject that implements the opaque SRC rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. SrcAtopAlphaCompositeobject that implements the opaque SRC_ATOP rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. SrcInAlphaCompositeobject that implements the opaque SRC_IN rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. SrcOutAlphaCompositeobject that implements the opaque SRC_OUT rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. SrcOverAlphaCompositeobject that implements the opaque SRC_OVER rule with an alpha of 1.0f.static AlphaCompositeAlphaComposite. XorAlphaCompositeobject that implements the opaque XOR rule with an alpha of 1.0f.Methods in java.awt that return AlphaComposite Modifier and Type Method Description AlphaCompositeAlphaComposite. derive(float alpha)Returns a similarAlphaCompositeobject that uses the specified alpha value.AlphaCompositeAlphaComposite. derive(int rule)Returns a similarAlphaCompositeobject that uses the specified compositing rule.static AlphaCompositeAlphaComposite. getInstance(int rule)Creates anAlphaCompositeobject with the specified rule.static AlphaCompositeAlphaComposite. getInstance(int rule, float alpha)Creates anAlphaCompositeobject with the specified rule and the constant alpha to multiply with the alpha of the source.