public class SoftMask extends Dictionary
| Modifier and Type | Field and Description |
|---|---|
static Name |
BC_KEY |
static Name |
G_KEY |
static Name |
S_KEY |
static java.lang.String |
SOFT_MASK_TYPE_ALPHA |
static java.lang.String |
SOFT_MASK_TYPE_LUMINOSITY |
entries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
SoftMask(Library library,
java.util.HashMap dictionary) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Number> |
getBC()
An array of component values specifying the colour to be used as the
backdrop against which to composite the transparency group XObject G.
|
Form |
getG()
A transparency group XObject (see "Transparency Group XObjects") to be
used as the source of alpha or colour values for deriving the mask.
|
Name |
getS()
A subtype specifying the method to be used in deriving the mask values
from the transparency group specified by the G entry:
Alpha - The group's computed alpha shall be used, disregarding
its colour (see "Deriving a Soft Mask from Group Alpha").
LuminosityThe group's computed colour shall be converted to a
single-component luminosity value (see "Deriving a Soft Mask from
Group Luminosity").
|
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toStringpublic static final Name S_KEY
public static final Name G_KEY
public static final Name BC_KEY
public static final java.lang.String SOFT_MASK_TYPE_ALPHA
public static final java.lang.String SOFT_MASK_TYPE_LUMINOSITY
public SoftMask(Library library, java.util.HashMap dictionary)
public Name getS()
public Form getG()
public java.util.List<java.lang.Number> getBC()