Package com.itextpdf.layout.properties
Enum BlendMode
- java.lang.Object
-
- java.lang.Enum<BlendMode>
-
- com.itextpdf.layout.properties.BlendMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLOR
COLOR_BURN
COLOR_DODGE
DARKEN
DIFFERENCE
EXCLUSION
HARD_LIGHT
HUE
LIGHTEN
LUMINOSITY
MULTIPLY
NORMAL
OVERLAY
SATURATION
SCREEN
SOFT_LIGHT
-
Field Summary
Fields Modifier and Type Field Description private PdfName
pdfRepresentation
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfName
getPdfRepresentation()
Get the pdf representation of the current blend mode.static BlendMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BlendMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final BlendMode NORMAL
-
MULTIPLY
public static final BlendMode MULTIPLY
-
SCREEN
public static final BlendMode SCREEN
-
OVERLAY
public static final BlendMode OVERLAY
-
DARKEN
public static final BlendMode DARKEN
-
LIGHTEN
public static final BlendMode LIGHTEN
-
COLOR_DODGE
public static final BlendMode COLOR_DODGE
-
COLOR_BURN
public static final BlendMode COLOR_BURN
-
HARD_LIGHT
public static final BlendMode HARD_LIGHT
-
SOFT_LIGHT
public static final BlendMode SOFT_LIGHT
-
DIFFERENCE
public static final BlendMode DIFFERENCE
-
EXCLUSION
public static final BlendMode EXCLUSION
-
HUE
public static final BlendMode HUE
-
SATURATION
public static final BlendMode SATURATION
-
COLOR
public static final BlendMode COLOR
-
LUMINOSITY
public static final BlendMode LUMINOSITY
-
-
Field Detail
-
pdfRepresentation
private final PdfName pdfRepresentation
-
-
Constructor Detail
-
BlendMode
private BlendMode(PdfName pdfRepresentation)
-
-
Method Detail
-
values
public static BlendMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BlendMode c : BlendMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlendMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-