public final class PDSoftMask extends Object implements COSObjectable
Constructor and Description |
---|
PDSoftMask(COSDictionary dictionary)
Creates a new soft mask.
|
Modifier and Type | Method and Description |
---|---|
static PDSoftMask |
create(COSBase dictionary)
Creates a new soft mask.
|
COSArray |
getBackdropColor()
Returns the backdrop color.
|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
PDTransparencyGroup |
getGroup()
Returns the G entry of the soft mask object
|
COSName |
getSubType()
Returns the subtype of the soft mask (Alpha, Luminosity) - S entry
|
PDFunction |
getTransferFunction()
Returns the transfer function.
|
public PDSoftMask(COSDictionary dictionary)
public static PDSoftMask create(COSBase dictionary)
dictionary
- SMaskpublic COSDictionary getCOSObject()
COSObjectable
getCOSObject
in interface COSObjectable
public COSName getSubType()
public PDTransparencyGroup getGroup() throws IOException
IOException
public COSArray getBackdropColor()
public PDFunction getTransferFunction() throws IOException
IOException
- If we are unable to create the PDFunction object.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.