Class BlendMode
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.blend.BlendMode
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlendModestatic final BlendModestatic final BlendModestatic final BlendModestatic final BlendModestatic final BlendModestatic final BlendModestatic final BlendModestatic final BlendModeNon-separable blend modes as defined in the PDF specificationstatic final BlendModestatic final BlendModestatic final BlendModestatic final BlendModeSeparable blend modes as defined in the PDF specificationstatic final BlendModestatic final BlendModestatic final BlendModestatic final BlendMode -
Method Summary
Modifier and TypeMethodDescriptionReturns the blend channel function, only available for separable blend modes.Returns the blend function, only available for non separable blend modes.The blend mode name from the BM object.static BlendModegetInstance(COSBase cosBlendMode) Determines the blend mode from the BM entry in the COS ExtGState.booleanDetermines if the blend mode is a separable blend mode.toString()
-
Field Details
-
NORMAL
Separable blend modes as defined in the PDF specification -
COMPATIBLE
-
MULTIPLY
-
SCREEN
-
OVERLAY
-
DARKEN
-
LIGHTEN
-
COLOR_DODGE
-
COLOR_BURN
-
HARD_LIGHT
-
SOFT_LIGHT
-
DIFFERENCE
-
EXCLUSION
-
HUE
Non-separable blend modes as defined in the PDF specification -
SATURATION
-
COLOR
-
LUMINOSITY
-
-
Method Details
-
getCOSName
-
isSeparableBlendMode
public boolean isSeparableBlendMode()Determines if the blend mode is a separable blend mode.- Returns:
- true for separable blend modes
-
getBlendChannelFunction
Returns the blend channel function, only available for separable blend modes.- Returns:
- the blend channel function
-
getBlendFunction
Returns the blend function, only available for non separable blend modes.- Returns:
- the blend function
-
getInstance
-
toString
-