public final class PDTransparencyGroupAttributes extends java.lang.Object implements COSObjectable
Modifier and Type | Field and Description |
---|---|
private PDColorSpace |
colorSpace |
private COSDictionary |
dictionary |
Constructor and Description |
---|
PDTransparencyGroupAttributes()
Creates a group object with /Transparency subtype entry.
|
PDTransparencyGroupAttributes(COSDictionary dic)
Creates a group object from a given dictionary
|
Modifier and Type | Method and Description |
---|---|
PDColorSpace |
getColorSpace()
Returns the group color space or null if it isn't defined.
|
PDColorSpace |
getColorSpace(PDResources resources)
Returns the group color space or null if it isn't defined.
|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
boolean |
isIsolated()
Returns true if this group is isolated.
|
boolean |
isKnockout()
Returns true if this group is a knockout.
|
private final COSDictionary dictionary
private PDColorSpace colorSpace
public PDTransparencyGroupAttributes()
public PDTransparencyGroupAttributes(COSDictionary dic)
dic
- COSDictionary
objectpublic COSDictionary getCOSObject()
COSObjectable
getCOSObject
in interface COSObjectable
public PDColorSpace getColorSpace() throws java.io.IOException
java.io.IOException
public PDColorSpace getColorSpace(PDResources resources) throws java.io.IOException
resources
- useful for its cache. Can be null.java.io.IOException
public boolean isIsolated()
public boolean isKnockout()