Example usage for Java java.awt AlphaComposite fields, constructors, methods, implement or subclass
The text is from its open source code.
int | CLEAR Both the color and the alpha of the destination are cleared (Porter-Duff Clear rule). |
int | DST The destination is left untouched (Porter-Duff Destination rule). |
int | SRC_OVER The source is composited over the destination (Porter-Duff Source Over Destination rule). |
int | DST_OVER The destination is composited over the source and the result replaces the destination (Porter-Duff Destination Over Source rule). |
int | SRC_IN The part of the source lying inside of the destination replaces the destination (Porter-Duff Source In Destination rule). |
int | DST_IN The part of the destination lying inside of the source replaces the destination (Porter-Duff Destination In Source rule). |
int | SRC_OUT The part of the source lying outside of the destination replaces the destination (Porter-Duff Source Held Out By Destination rule). |
int | DST_OUT The part of the destination lying outside of the source replaces the destination (Porter-Duff Destination Held Out By Source rule). |
int | SRC_ATOP The part of the source lying inside of the destination is composited onto the destination (Porter-Duff Source Atop Destination rule). |
int | DST_ATOP The part of the destination lying inside of the source is composited over the source and replaces the destination (Porter-Duff Destination Atop Source rule). |
AlphaComposite | Src AlphaComposite object that implements the opaque SRC rule with an alpha of 1.0f. |
AlphaComposite | SrcOver AlphaComposite object that implements the opaque SRC_OVER rule with an alpha of 1.0f. |
AlphaComposite | DstOver AlphaComposite object that implements the opaque DST_OVER rule with an alpha of 1.0f. |
AlphaComposite | SrcIn AlphaComposite object that implements the opaque SRC_IN rule with an alpha of 1.0f. |
AlphaComposite | DstIn AlphaComposite object that implements the opaque DST_IN rule with an alpha of 1.0f. |
AlphaComposite | SrcOut AlphaComposite object that implements the opaque SRC_OUT rule with an alpha of 1.0f. |
AlphaComposite | SrcAtop AlphaComposite object that implements the opaque SRC_ATOP rule with an alpha of 1.0f. |
float | getAlpha() Returns the alpha value of this 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. |
AlphaComposite | getInstance(int rule) Creates an AlphaComposite object with the specified rule. |
int | getRule() Returns the compositing rule of this AlphaComposite . |