public class BlendComposite extends Object implements Composite
| Modifier and Type | Class and Description |
|---|---|
static class |
BlendComposite.BlendingMode
A list of all supported color blending operations.
|
| Modifier and Type | Field and Description |
|---|---|
static BlendComposite |
COLOR_BURN_COMPOSITE
BlendComposite object that implements the opaque COLOR_BURN rule with an alpha
of 1.0f. |
static BlendComposite |
COLOR_DODGE_COMPOSITE
BlendComposite object that implements the opaque COLOR_DODGE rule with an alpha
of 1.0f. |
static BlendComposite |
DARKEN_COMPOSITE
BlendComposite object that implements the opaque DARKEN rule with an alpha of
1.0f. |
static BlendComposite |
DIFFERENCE_COMPOSITE
BlendComposite object that implements the opaque DIFFERENCE rule with an alpha
of 1.0f. |
static BlendComposite |
EXCLUSION_COMPOSITE
BlendComposite object that implements the opaque EXCLUSION rule with an alpha of
1.0f. |
static BlendComposite |
HARD_LIGHT_COMPOSITE
BlendComposite object that implements the opaque HARD_LIGHT rule with an alpha
of 1.0f. |
static BlendComposite |
LIGHTEN_COMPOSITE
BlendComposite object that implements the opaque LIGHTEN rule with an alpha of
1.0f. |
static BlendComposite |
MULTIPLY_COMPOSITE
BlendComposite object that implements the opaque MULTIPLY rule with an alpha of
1.0f. |
static BlendComposite |
OVERLAY_COMPOSITE
BlendComposite object that implements the opaque OVERLAY rule with an alpha of
1.0f. |
static BlendComposite |
SCREEN_COMPOSITE
BlendComposite object that implements the opaque SCREEN rule with an alpha of
1.0f. |
static BlendComposite |
SOFT_LIGHT_COMPOSITE
BlendComposite object that implements the opaque SOFT_LIGHT rule with an alpha
of 1.0f. |
| Modifier and Type | Method and Description |
|---|---|
CompositeContext |
createContext(ColorModel srcColorModel,
ColorModel dstColorModel,
RenderingHints hints) |
float |
getAlpha()
Returns the alpha value of this
BlendComposite. |
BlendComposite.BlendingMode |
getBlend()
Returns the blend of this
BlendComposite. |
static Composite |
geteInstance(BlendComposite.BlendingMode mode) |
static Composite |
getInstance(BlendComposite.BlendingMode mode,
float opacity)
Returns a BlendComposite with the given mode and opacity.
|
public static final BlendComposite MULTIPLY_COMPOSITE
BlendComposite object that implements the opaque MULTIPLY rule with an alpha of
1.0f.BlendComposite.BlendingMode.MULTIPLYpublic static final BlendComposite SCREEN_COMPOSITE
BlendComposite object that implements the opaque SCREEN rule with an alpha of
1.0f.BlendComposite.BlendingMode.SCREENpublic static final BlendComposite OVERLAY_COMPOSITE
BlendComposite object that implements the opaque OVERLAY rule with an alpha of
1.0f.BlendComposite.BlendingMode.OVERLAYpublic static final BlendComposite DARKEN_COMPOSITE
BlendComposite object that implements the opaque DARKEN rule with an alpha of
1.0f.BlendComposite.BlendingMode.DARKENpublic static final BlendComposite LIGHTEN_COMPOSITE
BlendComposite object that implements the opaque LIGHTEN rule with an alpha of
1.0f.BlendComposite.BlendingMode.LIGHTENpublic static final BlendComposite COLOR_DODGE_COMPOSITE
BlendComposite object that implements the opaque COLOR_DODGE rule with an alpha
of 1.0f.BlendComposite.BlendingMode.COLOR_DODGEpublic static final BlendComposite COLOR_BURN_COMPOSITE
BlendComposite object that implements the opaque COLOR_BURN rule with an alpha
of 1.0f.BlendComposite.BlendingMode.COLOR_BURNpublic static final BlendComposite HARD_LIGHT_COMPOSITE
BlendComposite object that implements the opaque HARD_LIGHT rule with an alpha
of 1.0f.BlendComposite.BlendingMode.HARD_LIGHTpublic static final BlendComposite SOFT_LIGHT_COMPOSITE
BlendComposite object that implements the opaque SOFT_LIGHT rule with an alpha
of 1.0f.BlendComposite.BlendingMode.SOFT_LIGHTpublic static final BlendComposite DIFFERENCE_COMPOSITE
BlendComposite object that implements the opaque DIFFERENCE rule with an alpha
of 1.0f.BlendComposite.BlendingMode.DIFFERENCEpublic static final BlendComposite EXCLUSION_COMPOSITE
BlendComposite object that implements the opaque EXCLUSION rule with an alpha of
1.0f.BlendComposite.BlendingMode.EXCLUSIONpublic CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
createContext in interface Compositepublic float getAlpha()
BlendComposite.BlendComposite.public BlendComposite.BlendingMode getBlend()
BlendComposite.BlendComposite.public static Composite geteInstance(BlendComposite.BlendingMode mode)
public static Composite getInstance(BlendComposite.BlendingMode mode, float opacity)
mode - opacity - Copyright © 1996–2019 Geotools. All rights reserved.