Uses of Class
java.awt.AlphaComposite

Packages that use AlphaComposite
Package
Description
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
    AlphaComposite.Clear
    AlphaComposite object that implements the opaque CLEAR rule with an alpha of 1.0f.
    AlphaComposite.Dst
    AlphaComposite object that implements the opaque DST rule with an alpha of 1.0f.
    AlphaComposite.DstAtop
    AlphaComposite object that implements the opaque DST_ATOP 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.DstOut
    AlphaComposite object that implements the opaque DST_OUT 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.Src
    AlphaComposite object that implements the opaque SRC rule with an alpha of 1.0f.
    AlphaComposite.SrcAtop
    AlphaComposite object that implements the opaque SRC_ATOP 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.SrcOut
    AlphaComposite object that implements the opaque SRC_OUT 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.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.derive​(float alpha)
    Returns a similar AlphaComposite object that uses the specified alpha value.
    AlphaComposite.derive​(int rule)
    Returns a similar AlphaComposite object that uses the specified compositing rule.
    AlphaComposite.getInstance​(int rule)
    Creates an AlphaComposite object with the specified rule.
    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.