public class BlendMode extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
BlendMode.BlendChannelFunction |
static interface |
BlendMode.BlendFunction |
Modifier and Type | Field and Description |
---|---|
static BlendMode |
COLOR |
static BlendMode |
COLOR_BURN |
static BlendMode |
COLOR_DODGE |
static BlendMode |
COMPATIBLE |
static BlendMode |
DARKEN |
static BlendMode |
DIFFERENCE |
static BlendMode |
EXCLUSION |
static BlendMode |
HARD_LIGHT |
static BlendMode |
HUE
Non-separable blend modes as defined in the PDF specification
|
static BlendMode |
LIGHTEN |
static BlendMode |
LUMINOSITY |
static BlendMode |
MULTIPLY |
static BlendMode |
NORMAL
Separable blend modes as defined in the PDF specification
|
static BlendMode |
OVERLAY |
static BlendMode |
SATURATION |
static BlendMode |
SCREEN |
static BlendMode |
SOFT_LIGHT |
Modifier and Type | Method and Description |
---|---|
BlendMode.BlendChannelFunction |
getBlendChannelFunction()
Returns the blend channel function, only available for separable blend modes.
|
BlendMode.BlendFunction |
getBlendFunction()
Returns the blend function, only available for non separable blend modes.
|
COSName |
getCOSName()
The blend mode name from the BM object.
|
static BlendMode |
getInstance(COSBase cosBlendMode)
Determines the blend mode from the BM entry in the COS ExtGState.
|
boolean |
isSeparableBlendMode()
Determines if the blend mode is a separable blend mode.
|
public static final BlendMode NORMAL
public static final BlendMode COMPATIBLE
public static final BlendMode MULTIPLY
public static final BlendMode SCREEN
public static final BlendMode OVERLAY
public static final BlendMode DARKEN
public static final BlendMode LIGHTEN
public static final BlendMode COLOR_DODGE
public static final BlendMode COLOR_BURN
public static final BlendMode HARD_LIGHT
public static final BlendMode SOFT_LIGHT
public static final BlendMode DIFFERENCE
public static final BlendMode EXCLUSION
public static final BlendMode HUE
public static final BlendMode SATURATION
public static final BlendMode COLOR
public static final BlendMode LUMINOSITY
public COSName getCOSName()
public boolean isSeparableBlendMode()
public BlendMode.BlendChannelFunction getBlendChannelFunction()
public BlendMode.BlendFunction getBlendFunction()
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.