public static enum BlendComposite.BlendingMode extends Enum<BlendComposite.BlendingMode>
Enum Constant and Description |
---|
COLOR_BURN |
COLOR_DODGE |
DARKEN |
DIFFERENCE |
EXCLUSION |
HARD_LIGHT |
LIGHTEN |
MULTIPLY |
OVERLAY |
SCREEN |
SOFT_LIGHT |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static List<String> |
getStandardNames()
Returns the list of blending modes standard names
|
static BlendComposite.BlendingMode |
lookupByName(String name)
Looks up a blending mode by its SVG standard name (as opposed to the enum name, which for
example cannot contain hyphens)
|
abstract void |
perform(int sr,
int sg,
int sb,
int sa,
int dr,
int dg,
int db,
int da,
int[] result)
Performs the color blending on the given pixels, assuming the source colors are
pre-multiplied
|
static BlendComposite.BlendingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlendComposite.BlendingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlendComposite.BlendingMode MULTIPLY
public static final BlendComposite.BlendingMode SCREEN
public static final BlendComposite.BlendingMode OVERLAY
public static final BlendComposite.BlendingMode DARKEN
public static final BlendComposite.BlendingMode LIGHTEN
public static final BlendComposite.BlendingMode COLOR_DODGE
public static final BlendComposite.BlendingMode COLOR_BURN
public static final BlendComposite.BlendingMode HARD_LIGHT
public static final BlendComposite.BlendingMode SOFT_LIGHT
public static final BlendComposite.BlendingMode DIFFERENCE
public static final BlendComposite.BlendingMode EXCLUSION
public static BlendComposite.BlendingMode[] values()
for (BlendComposite.BlendingMode c : BlendComposite.BlendingMode.values()) System.out.println(c);
public static BlendComposite.BlendingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract void perform(int sr, int sg, int sb, int sa, int dr, int dg, int db, int da, int[] result)
public String getName()
public static BlendComposite.BlendingMode lookupByName(String name)
name
- The standard nameCopyright © 1996–2023 Geotools. All rights reserved.