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
|
Matrix |
getInitialTransformationMatrix()
Returns the CTM at the time the ExtGState was activated.
|
COSName |
getSubType()
Returns the subtype of the soft mask (Alpha, Luminosity) - S entry
|
PDFunction |
getTransferFunction()
Returns the transfer function.
|
public PDSoftMask(COSDictionary dictionary)
dictionary
- The soft mask 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.public Matrix getInitialTransformationMatrix()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.