Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
Sample
Document
Interface java.awt.Transparency
Inherited members: ShowHide
Deprecated: ShowHide
View: ClientSubclassPackageImplementation
java.awt

Interface Transparency

  • All Known Subinterfaces:
    Paint
    All Known Implementing Classes:
    Color, GradientPaint, LinearGradientPaint, MultipleGradientPaint, RadialGradientPaint, SystemColor, TexturePaint
    public interface Transparency
    The Transparency interface defines the common transparency modes for implementing classes.
    • Fields 
      Modifier and Type Field and Description
      Ordinary member indicator BITMASK Reveal DetailHide Detail
      static int BITMASK
      Represents image data that is guaranteed to be either completely opaque, with an alpha value of 1.0, or completely transparent, with an alpha value of 0.0.
      static final int BITMASK
      Represents image data that is guaranteed to be either completely opaque, with an alpha value of 1.0, or completely transparent, with an alpha value of 0.0.
      See Also:
      Constant Field Values
      Ordinary member indicator OPAQUE Reveal DetailHide Detail
      static int OPAQUE
      Represents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0.
      static final int OPAQUE
      Represents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0.
      See Also:
      Constant Field Values
      Ordinary member indicator TRANSLUCENT Reveal DetailHide Detail
      static int TRANSLUCENT
      Represents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0.
      static final int TRANSLUCENT
      Represents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0.
      See Also:
      Constant Field Values
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator getTransparency Reveal DetailHide Detail
      int getTransparency()
      Returns the type of this Transparency.
      int getTransparency()
      Returns the type of this Transparency.
      Returns:
      the field type of this Transparency, which is either OPAQUE, BITMASK or TRANSLUCENT.
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge