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.MULTIPLY
public static final BlendComposite SCREEN_COMPOSITE
BlendComposite
object that implements the opaque SCREEN rule with an alpha of
1.0f.BlendComposite.BlendingMode.SCREEN
public static final BlendComposite OVERLAY_COMPOSITE
BlendComposite
object that implements the opaque OVERLAY rule with an alpha of
1.0f.BlendComposite.BlendingMode.OVERLAY
public static final BlendComposite DARKEN_COMPOSITE
BlendComposite
object that implements the opaque DARKEN rule with an alpha of
1.0f.BlendComposite.BlendingMode.DARKEN
public static final BlendComposite LIGHTEN_COMPOSITE
BlendComposite
object that implements the opaque LIGHTEN rule with an alpha of
1.0f.BlendComposite.BlendingMode.LIGHTEN
public static final BlendComposite COLOR_DODGE_COMPOSITE
BlendComposite
object that implements the opaque COLOR_DODGE rule with an alpha
of 1.0f.BlendComposite.BlendingMode.COLOR_DODGE
public static final BlendComposite COLOR_BURN_COMPOSITE
BlendComposite
object that implements the opaque COLOR_BURN rule with an alpha
of 1.0f.BlendComposite.BlendingMode.COLOR_BURN
public static final BlendComposite HARD_LIGHT_COMPOSITE
BlendComposite
object that implements the opaque HARD_LIGHT rule with an alpha
of 1.0f.BlendComposite.BlendingMode.HARD_LIGHT
public static final BlendComposite SOFT_LIGHT_COMPOSITE
BlendComposite
object that implements the opaque SOFT_LIGHT rule with an alpha
of 1.0f.BlendComposite.BlendingMode.SOFT_LIGHT
public static final BlendComposite DIFFERENCE_COMPOSITE
BlendComposite
object that implements the opaque DIFFERENCE rule with an alpha
of 1.0f.BlendComposite.BlendingMode.DIFFERENCE
public static final BlendComposite EXCLUSION_COMPOSITE
BlendComposite
object that implements the opaque EXCLUSION rule with an alpha of
1.0f.BlendComposite.BlendingMode.EXCLUSION
public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
createContext
in interface Composite
public 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.