Uses of Interface
java.awt.Transparency
Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
java.awt.image |
Provides classes for creating and modifying images.
|
javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
|
-
Uses of Transparency in java.awt
Subinterfaces of Transparency in java.awt Modifier and Type Interface Description interface
Paint
ThisPaint
interface defines how color patterns can be generated forGraphics2D
operations.Classes in java.awt that implement Transparency Modifier and Type Class Description class
Color
TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.class
GradientPaint
TheGradientPaint
class provides a way to fill aShape
with a linear color gradient pattern.class
LinearGradientPaint
TheLinearGradientPaint
class provides a way to fill aShape
with a linear color gradient pattern.class
MultipleGradientPaint
This is the superclass for Paints which use a multiple color gradient to fill in their raster.class
RadialGradientPaint
TheRadialGradientPaint
class provides a way to fill a shape with a circular radial color gradient pattern.class
SystemColor
A class to encapsulate symbolic colors representing the color of native GUI objects on a system.class
TexturePaint
TheTexturePaint
class provides a way to fill aShape
with a texture that is specified as aBufferedImage
. -
Uses of Transparency in java.awt.image
Classes in java.awt.image that implement Transparency Modifier and Type Class Description class
BufferedImage
TheBufferedImage
subclass describes anImage
with an accessible buffer of image data.class
ColorModel
TheColorModel
abstract class encapsulates the methods for translating a pixel value to color components (for example, red, green, and blue) and an alpha component.class
ComponentColorModel
AColorModel
class that works with pixel values that represent color and alpha information as separate samples and that store each sample in a separate data element.class
DirectColorModel
TheDirectColorModel
class is aColorModel
class that works with pixel values that represent RGB color and alpha information as separate samples and that pack all samples for a single pixel into a single int, short, or byte quantity.class
IndexColorModel
TheIndexColorModel
class is aColorModel
class that works with pixel values consisting of a single sample that is an index into a fixed colormap in the default sRGB color space.class
PackedColorModel
ThePackedColorModel
class is an abstractColorModel
class that works with pixel values which represent color and alpha information as separate samples and which pack all samples for a single pixel into a single int, short, or byte quantity.class
VolatileImage
VolatileImage is an image which can lose its contents at any time due to circumstances beyond the control of the application (e.g., situations caused by the operating system or by other applications). -
Uses of Transparency in javax.swing.plaf
Classes in javax.swing.plaf that implement Transparency Modifier and Type Class Description class
ColorUIResource
A subclass of Color that implements UIResource.