| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final BlendMode | |
| private final float | |
| private static final Log | LOG
Log instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public CompositeContext | createContext(ColorModel
the srcColorModel, ColorModel ColorModel of the sourcethe dstColorModel, RenderingHints ColorModel of the destinationthe hint that the context object uses to choose between
rendering alternatives hints)Implements java. Creates a context containing state that is used to perform the compositing operation. |
| public static Composite | Returns: a blend composite.Desired blend mode blendMode, float Constant alpha, must be in the inclusive range
[0.0...1.0] or it will be clipped. constantAlpha)Creates a blend composite |
| blendMode | back to summary |
|---|---|
| private final BlendMode blendMode | |
| constantAlpha | back to summary |
|---|---|
| private final float constantAlpha | |
| LOG | back to summary |
|---|---|
| private static final Log LOG Log instance. | |
| BlendComposite | back to summary |
|---|---|
| private BlendComposite(BlendMode blendMode, float constantAlpha) | |
| createContext | back to summary |
|---|---|
| public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) Implements java. Doc from java. Creates a context containing state that is used to perform
the compositing operation. In a multi-threaded environment,
several contexts can exist simultaneously for a single
| |
| getInstance | back to summary |
|---|---|
| public static Composite getInstance(BlendMode blendMode, float constantAlpha) Creates a blend composite
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ColorModel | |
| private final ColorModel |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | compose(Raster
the first source for the compositing operation src, Raster the second source for the compositing operation dstIn, WritableRaster the dstOut)WritableRaster into which the
result of the operation is storedImplements java. Composes the two source |
| public void |
| dstColorModel | back to summary |
|---|---|
| private final ColorModel dstColorModel | |
| srcColorModel | back to summary |
|---|---|
| private final ColorModel srcColorModel | |
| BlendCompositeContext | back to summary |
|---|---|
| pack-priv BlendCompositeContext(ColorModel srcColorModel, ColorModel dstColorModel) | |
| compose | back to summary |
|---|---|
| public void compose(Raster src, Raster dstIn, WritableRaster dstOut) Implements java. Doc from java. Composes the two source
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements java. Doc from java. Releases resources allocated for a context.
| |