public static enum BlendImagesAlgorithm.BlendMode extends Enum<BlendImagesAlgorithm.BlendMode>
Enum Constant and Description |
---|
Add |
Difference |
DivideAB |
DivideBA |
Maximum |
Minimum |
Multiply |
Normal |
Overlay |
Screen |
SubtractAB |
SubtractBA |
Modifier and Type | Method and Description |
---|---|
int |
blend(int aRGB,
int bRGB,
double opacity) |
String |
toString() |
static BlendImagesAlgorithm.BlendMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlendImagesAlgorithm.BlendMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlendImagesAlgorithm.BlendMode Normal
public static final BlendImagesAlgorithm.BlendMode Multiply
public static final BlendImagesAlgorithm.BlendMode DivideBA
public static final BlendImagesAlgorithm.BlendMode DivideAB
public static final BlendImagesAlgorithm.BlendMode Add
public static final BlendImagesAlgorithm.BlendMode Minimum
public static final BlendImagesAlgorithm.BlendMode Maximum
public static final BlendImagesAlgorithm.BlendMode SubtractAB
public static final BlendImagesAlgorithm.BlendMode SubtractBA
public static final BlendImagesAlgorithm.BlendMode Difference
public static final BlendImagesAlgorithm.BlendMode Overlay
public static final BlendImagesAlgorithm.BlendMode Screen
public static BlendImagesAlgorithm.BlendMode[] values()
for (BlendImagesAlgorithm.BlendMode c : BlendImagesAlgorithm.BlendMode.values()) System.out.println(c);
public static BlendImagesAlgorithm.BlendMode 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 int blend(int aRGB, int bRGB, double opacity)
public String toString()
toString
in class Enum<BlendImagesAlgorithm.BlendMode>
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.