Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Field and 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. |
Modifier and Type | Method and 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. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.